RE: WSIF and Document/Literal Service
<[email protected]> Thu, 8 Feb 2007 13:07:43 +0530
| Newsgroups | gmane.comp.apache.webservices.wsif.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Alek,
For a document/literal(wrapped) style service, when we set a custom java
object as input in WSIFMessage,
It is going through fine.
But for document/literal(non-wrapped) style service, when we set a
custom java object as input in WSIFMessage,
We are encountering the following exception
org.apache.wsif.WSIFException: exception on AXIS invoke:
org.xml.sax.SAXException: SimpleDeserializer encountered a child
element, which is NOT expected, in something it was trying to
deserialize.; nested exception is:
org.xml.sax.SAXException: SimpleDeserializer encountered a child
element, which is NOT expected, in something it was trying to
deserialize.
at
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invok
eAXISDocStyle(WSIFOperation_ApacheAxis.java:1764)
at
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invok
eRequestResponseOperation(WSIFOperation_ApacheAxis.java:1464)
at
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.execu
teRequestResponseOperation(WSIFOperation_ApacheAxis.java:1035)
Can we set a custome java object as input or should we set a XML element
instead?
Can you pls let us know, if there is any difference in setting
parameters for wrapped and non-wrapped document/literal style services.
Regards
Prakash
-----Original Message-----
From: Aleksander Slominski [mailto:[email protected]]
Sent: Wednesday, February 07, 2007 6:57 PM
To: [email protected]
Subject: Re: WSIF and Document/Literal Service
[email protected] wrote:
> Hi,
>
> Can anyone let me know how to set input parameters for a
> document/literal service which takes a Complex type object as
parameter?
hi Prakash,
what do you mean exactly by complex type object? ws it XML (DOM)? or is
it something generated by XML-Java binding tool out of XML Schema? or
something else?
best,
alek
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com