Posted By:
Anonymous
Posted On:
Wednesday, August 29, 2001 02:34 PM
I am trying to have a Perl program using SOAP::Lite call a Java method using SOAP. The problem is that the Java object that I am passing to my SOAP method is not a standard type but instead is a Java class. I need to somehow get my Perl client to use mapping and I can't. Calling this from Java works because I use the mapping classes. Here is what the SOAP SHOULD SEND POST /soap/servlet/rpcrouter HTTP/1.0 Host: vpoc.walgreens.com Content-Type: text/xml; charset=utf-8 Content-Length: 628 SOAPAction: "" <?xml version='1.0' encoding='UTF-8'?> xmlns:xsi="http
More>>
I am trying to have a Perl program
using SOAP::Lite call a Java method
using SOAP. The problem is that the Java object that I am passing to my SOAP method is not a standard type but
instead is a Java class. I need to
somehow get my Perl client to use
mapping and I can't. Calling this
from Java works because I use the
mapping classes.
Here is what the SOAP SHOULD SEND
POST /soap/servlet/rpcrouter HTTP/1.0
Host: vpoc.walgreens.com
Content-Type: text/xml; charset=utf-8
Content-Length: 628
SOAPAction: ""
<?xml version='1.0' encoding='UTF-8'?>
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
312000208
That works and is send from java.
But when I use Perl I get this...
POST /soap/servlet/rpcrouter HTTP/1.0
Host: localhost:49000
User-Agent: SOAP::Lite/Perl/0.46
Content-Length: 549
Content-Type: text/xml
SOAPAction: "urn:patient#queryOnId"
<?xml version="1.0" encoding="UTF-8"?>
id
5
How can I get Perl to use a
secondary namespace so that
the server knows how to construct
the object on the other side?
I am being told that there is no
method that matches the incoming
parameters because when I send
a HASH with all of the parameters
it dumps them to strings and integers
which does not match the parameters
expected.