in reply to SOAP::Lite org.xml.sax.SAXException: Bad types (class java.lang.String -> class usdjws65.ArrayOfString)
I was able to resolve this issue by rewritting my array definition. For those interested below is the redefined code.
my @params = ( SOAP::Data->name("sid" => $sid), SOAP::Data->name("objectType" => 'pcat'), SOAP::Data->name("whereClause" => "sym like 'Hoste +d%'"), SOAP::Data->name("maxRows" => "1"), # what values to get back, more could be added. SOAP::Data->name("attributes" => \SOAP::Data->value( SOAP::Data->name("string" => "sym" +), SOAP::Data->name("string" => 'desc +ription') ) ) );
Although I have this resolved but I do not understand why the "/" prior to SOAP::Data within SOAP::Data structure make the difference?
Thanks all,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: SOAP::Lite org.xml.sax.SAXException: Bad types (class java.lang.String -> class usdjws65.ArrayOfString)
by Anonymous Monk on Sep 13, 2008 at 13:13 UTC | |
by fujiman (Novice) on Sep 15, 2008 at 23:57 UTC |