Getting faults when passing string array as parameter.. help!
1 posts in topic
Flat View  Flat View

Posted By:   Trevor_Hall
Posted On:   Monday, April 18, 2005 04:29 PM

I have a new method that requires a string array as a parameter, and I keep getting namespace encoding faults and I simply can't figure out why.

I realize it's looking to recieve the encoded array using the namespace in the expected block, though I can't figure out why it won't accept a regular array.

In this test, I am using perl and the SOAP::Lite module to conduct the remote call.

JAXRPC.TIE.01: caught exception while handling request: unexpected element type: expected={urn:mydomain.comPersistanceTesting}ArrayOfstring, actual=ArrayOfstring

Re: Getting faults when passing string array as parameter.. help!

Posted By:   Milan_Boruvka  
Posted On:   Thursday, May 5, 2005 08:36 AM

It seems to me that there is a mismatch between expected element type and element type being sent.

I do not know SOAPLite, but you should force it to map the String array into type with qualified name: urn:mydomain.comPersistanceTesting:ArrayOfstring, not just ArrayOfstring (no XML namespace here!).
About | Sitemap | Contact