You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Yong Miao <yo...@aspentech.com> on 2002/09/04 23:46:06 UTC

Isd:map for array of string

Hi,

I have a service in Java running with Tomcat/Soap like

	setValues(String[] vals)

In order to call this from VB6, I have to specify a type mapping for this in
DeploymentDesciptor.xml.
I did it like:

	 <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
             xmlns:x="" qname="x:vals"
 
xml2JavaClassName="org.apache.soap.encoding.soapenc.StringDeserializer"/>


But when I call it the service returns error saying something like "type
conversion failure for element vals".
How should I specify the mapping?

You help is highly appreciated!

Thanks,
Yong


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: Isd:map for array of string

Posted by Scott Nichol <sn...@scottnichol.com>.
The members of this list can be of most help if you could post a capture of
the request and response.  Apache SOAP has the
org.apache.soap.util.net.TcpTunnelGui utility for doing this.  The MS STK
has the Trace Utility.

Scott Nichol

----- Original Message -----
From: "Yong Miao" <yo...@aspentech.com>
To: <so...@xml.apache.org>
Sent: Wednesday, September 04, 2002 5:46 PM
Subject: Isd:map for array of string


Hi,

I have a service in Java running with Tomcat/Soap like

setValues(String[] vals)

In order to call this from VB6, I have to specify a type mapping for this in
DeploymentDesciptor.xml.
I did it like:

<isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
             xmlns:x="" qname="x:vals"

xml2JavaClassName="org.apache.soap.encoding.soapenc.StringDeserializer"/>


But when I call it the service returns error saying something like "type
conversion failure for element vals".
How should I specify the mapping?

You help is highly appreciated!

Thanks,
Yong


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>




--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: Isd:map for array of string

Posted by Scott Nichol <sn...@scottnichol.com>.
The members of this list can be of most help if you could post a capture of
the request and response.  Apache SOAP has the
org.apache.soap.util.net.TcpTunnelGui utility for doing this.  The MS STK
has the Trace Utility.

Scott Nichol

----- Original Message -----
From: "Yong Miao" <yo...@aspentech.com>
To: <so...@xml.apache.org>
Sent: Wednesday, September 04, 2002 5:46 PM
Subject: Isd:map for array of string


Hi,

I have a service in Java running with Tomcat/Soap like

setValues(String[] vals)

In order to call this from VB6, I have to specify a type mapping for this in
DeploymentDesciptor.xml.
I did it like:

<isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
             xmlns:x="" qname="x:vals"

xml2JavaClassName="org.apache.soap.encoding.soapenc.StringDeserializer"/>


But when I call it the service returns error saying something like "type
conversion failure for element vals".
How should I specify the mapping?

You help is highly appreciated!

Thanks,
Yong


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>