Home > Default > About XML Parameter for Web Service invoking

About XML Parameter for Web Service invoking

November 30Hits:0
Advertisement
I would like to use the XML parameter as the Web Service's input(Attachment is
the XML schema) in WebLogic Server 8 sp1. When I generated the Web Service and
use the WebLogic Server generate test web page to test it, I got Exception. The
WebLogic Server can't constructe the input XML.
The correct XML should look like this:
<ids>
<desc>Description</desc>
<id>1</id>
<id>2</id>
<id>3</id>
</ids>
Is there any one can tell me whether this kind of XML was permitted for Web Service
invoking or not?
[sample.xsd]

Answers

Hi Andy,
On the test page, before the invoke of the operation, did it say
something like:
<!-- Do not know how to create a sample instance for this part due to
the following exception:java.lang.InstantiationException:
javax.xml.soap.SOAPElement. Pls replace this with the correct XML before
invoking the service. --->
if so, the service itself may be working OK, the deficiency is that the
test page tries its best to determine sample values for the invoke,
however it does not know in this case.
Did you try with a client?
Your XML should be fine.
Regards,
Bruce
Andy wrote:
>
I would like to use the XML parameter as the Web Service's input(Attachment is
the XML schema) in WebLogic Server 8 sp1. When I generated the Web Service and
use the WebLogic Server generate test web page to test it, I got Exception. The
WebLogic Server can't constructe the input XML.
The correct XML should look like this:
<ids>
<desc>Description</desc>
<id>1</id>
<id>2</id>
<id>3</id>
</ids>
Is there any one can tell me whether this kind of XML was permitted for Web Service
invoking or not?
Name: sample.xsd
sample.xsd Type: ACT Project (text/xml)
Encoding: base64

Read other 2 answers

Tags:

Related Articles

  • About XML Parameter for Web Service invokingNovember 30

    I would like to use the XML parameter as the Web Service's input(Attachment is the XML schema) in WebLogic Server 8 sp1. When I generated the Web Service and use the WebLogic Server generate test web page to test it, I got Exception. The WebLogic Ser

  • Web service invoke errorOctober 11

    Hello, I have Tomcat 3.3.1a web container running with JSP that acts like Weblogic 7.0 SP2 webservice client. However, when I try to send data file to webservice, I get the following error: web service invoke failed; nested exception is: javax.xml.so

  • How do I send XML to a web service?October 11

    I am brand new to Flex. I am trying to write a program that uses web services to send and receive data. I have gotten it so that it can receive XML from the web service. However, I also need to send it, and I am stuck. I have tried the following code

  • Download a XML file from Web Services Using FlexOctober 11

    Hi All... I am new for flex, im developing a windows application using Flex/Air, i have connected the web services with user authentication, now I want to download a xml file using web services in flex, how can i do this?? please reply... Thanks in a

  • How to create a proxy to retrieve the xml file from web servicesNovember 30

    Hi Every one, We have a requirment where we receive a xml file from Kenexa, a third party HR tool using a middleware tool. from SAP side We have to create a proxy to retrieve the xml  file from web services by initiating call through middleware tool

  • Return XML document through Web Service?November 30

    Hello, Is it possible to return a XML document from a web service? For example, I have a Oracle Report that outputs in XML format, is it possible to return that through a web service? Any suggestions or pointers will be most appreciated. NilanHi Nila

  • XML Beans in Web Services / .xsd compilationNovember 30

    Hello friends - I've been told of many wonderful things that can be accomplished by using XML beans in web service style integrations. However, I'm running into trouble actually getting anything done and was hoping someone could give me a few pointer

  • Mandatory return parameter in Web ServiceNovember 30

    Hello, Do you know how to set a return parameter mandatory in a Web Service using an Enterprise JavaBean (Netweaver 2004s)? The method has 2 return parameters in the WSDL: <xs:complexType name="SignResponse"> <xs:sequence>   <xs:e

  • Web service invoking problem with websphere serverNovember 30

    HI all, I am getting the following exception while running the FedEx web service application in RAD. AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.net.SocketException: Cannot find

  • Request parameter of Web Service Data Control shows up as an ObjectNovember 30

    I have deployed a simple web service on a peoplesoft instance. The request message is: <?xml version="1.0" encoding="windows-1252" ?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.ex

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 1.221 s.