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 Shankar S <ss...@prodapt.com> on 2002/09/17 07:37:10 UTC

Regd VB Client passing a String paramater to a web service implemented in Java

Hi,

The FAQ section in the Apache SOAP says

" Does Apache SOAP work with Microsoft SOAP?
Yes, but you need to install a patch to the MS SOAP package. One of the
well-known interoperability problems between Apache 2.0 and MS Soap is that
MS clients do not send type information with each parameter, and the Apache
soap server will reject such requests.

James Snell has provided a patch adding the typing. It can be found at
SOAP-WRC web site.  "

But, the link does not exists.
Do you people have any idea about this?

I am facing problem in sending a String a parameter from a VB client using
MSSOAP toolkit.
I am getting this error......
SOAP:FaultCode    Client
SOAP:FaultNameSpace    http://schemas.xmlsoap.org/soap/envelope
SOAP:Fault    No Deserializer found to deserialize a ':i" using the encoding
style "http://schemas.xmlsoap.org/soap/encoding/"

I am also attaching the WSDL file and the java web service implementation.

And, this is the VB client code...

  Private Sub Command1_Click()

  Dim client As New SoapClient30
  client.MSSoapInit "http://sol2.immchen.com:8001/NASApp/soap/vbtest.wsdl"

  On Error GoTo err_block
      MsgBox client.getStringString("str")
  Exit Sub
  err_block:
      MsgBox client.FaultCode
      MsgBox client.FaultCodeNamespace
      MsgBox client.FaultString

  End Sub

Please  let me know, whether I am missing any critical steps.

Thanks in Advance,
Shankar Shanmugam


Re: Regd VB Client passing a String paramater to a web service implemented in Java

Posted by Scott Nichol <sn...@scottnichol.com>.
This is more than a "temp solution"; it is the standard solution provided
within Apache SOAP.  Another solution, if you are willing to change the
WSDL, is to set the parameter types to xsd:anyType.  This causes the VB
client to send the xsi:type parameter.  Of course, you can also use the low
level API provided by Microsoft.  For examples, you can check
http://www.scottnichol.com/vbclienthiapachesoap.htm and
http://www.scottnichol.com/vbclientapachesoap.htm.

Scott Nichol

----- Original Message -----
From: "Shankar S" <ss...@prodapt.com>
To: <so...@xml.apache.org>
Sent: Tuesday, September 17, 2002 6:34 AM
Subject: RE: Regd VB Client passing a String paramater to a web service
implemented in Java


> Hi,
>
> I found a temp solution for this issues raised by me.
>
http://www-1.ibm.com/support/techdocs/atsmastr.nsf/PubAllNum/TD100540?OpenDo
> cument&ExpandSection=5,3#_Section5
>
> Thanks,
> Shankar Shanmugam
>   -----Original Message-----
>   From: Shankar S [mailto:sshankar@prodapt.com]
>   Sent: Tuesday, September 17, 2002 11:07 AM
>   To: soap-user@xml.apache.org
>   Cc: Sudhakar S; Anantha Padmanabhan Vedachalam
>   Subject: Regd VB Client passing a String paramater to a web service
> implemented in Java
>
>
>   Hi,
>
>   The FAQ section in the Apache SOAP says
>
>   " Does Apache SOAP work with Microsoft SOAP?
>   Yes, but you need to install a patch to the MS SOAP package. One of the
> well-known interoperability problems between Apache 2.0 and MS Soap is
that
> MS clients do not send type information with each parameter, and the
Apache
> soap server will reject such requests.
>
>   James Snell has provided a patch adding the typing. It can be found at
> SOAP-WRC web site.  "
>
>   But, the link does not exists.
>   Do you people have any idea about this?
>
>   I am facing problem in sending a String a parameter from a VB client
using
> MSSOAP toolkit.
>   I am getting this error......
>   SOAP:FaultCode    Client
>   SOAP:FaultNameSpace    http://schemas.xmlsoap.org/soap/envelope
>   SOAP:Fault    No Deserializer found to deserialize a ':i" using the
> encoding style "http://schemas.xmlsoap.org/soap/encoding/"
>
>   I am also attaching the WSDL file and the java web service
implementation.
>
>   And, this is the VB client code...
>
>     Private Sub Command1_Click()
>
>     Dim client As New SoapClient30
>     client.MSSoapInit
> "http://sol2..immchen.com:8001/NASApp/soap/vbtest.wsdl"
>
>     On Error GoTo err_block
>         MsgBox client.getStringString("str")
>     Exit Sub
>     err_block:
>         MsgBox client.FaultCode
>         MsgBox client.FaultCodeNamespace
>         MsgBox client.FaultString
>
>     End Sub
>
>   Please  let me know, whether I am missing any critical steps.
>
>   Thanks in Advance,
>   Shankar Shanmugam
>
>


Re: Regd VB Client passing a String paramater to a web service implemented in Java

Posted by Scott Nichol <sn...@scottnichol.com>.
This is more than a "temp solution"; it is the standard solution provided
within Apache SOAP.  Another solution, if you are willing to change the
WSDL, is to set the parameter types to xsd:anyType.  This causes the VB
client to send the xsi:type parameter.  Of course, you can also use the low
level API provided by Microsoft.  For examples, you can check
http://www.scottnichol.com/vbclienthiapachesoap.htm and
http://www.scottnichol.com/vbclientapachesoap.htm.

Scott Nichol

----- Original Message -----
From: "Shankar S" <ss...@prodapt.com>
To: <so...@xml.apache.org>
Sent: Tuesday, September 17, 2002 6:34 AM
Subject: RE: Regd VB Client passing a String paramater to a web service
implemented in Java


> Hi,
>
> I found a temp solution for this issues raised by me.
>
http://www-1.ibm.com/support/techdocs/atsmastr.nsf/PubAllNum/TD100540?OpenDo
> cument&ExpandSection=5,3#_Section5
>
> Thanks,
> Shankar Shanmugam
>   -----Original Message-----
>   From: Shankar S [mailto:sshankar@prodapt.com]
>   Sent: Tuesday, September 17, 2002 11:07 AM
>   To: soap-user@xml.apache.org
>   Cc: Sudhakar S; Anantha Padmanabhan Vedachalam
>   Subject: Regd VB Client passing a String paramater to a web service
> implemented in Java
>
>
>   Hi,
>
>   The FAQ section in the Apache SOAP says
>
>   " Does Apache SOAP work with Microsoft SOAP?
>   Yes, but you need to install a patch to the MS SOAP package. One of the
> well-known interoperability problems between Apache 2.0 and MS Soap is
that
> MS clients do not send type information with each parameter, and the
Apache
> soap server will reject such requests.
>
>   James Snell has provided a patch adding the typing. It can be found at
> SOAP-WRC web site.  "
>
>   But, the link does not exists.
>   Do you people have any idea about this?
>
>   I am facing problem in sending a String a parameter from a VB client
using
> MSSOAP toolkit.
>   I am getting this error......
>   SOAP:FaultCode    Client
>   SOAP:FaultNameSpace    http://schemas.xmlsoap.org/soap/envelope
>   SOAP:Fault    No Deserializer found to deserialize a ':i" using the
> encoding style "http://schemas.xmlsoap.org/soap/encoding/"
>
>   I am also attaching the WSDL file and the java web service
implementation.
>
>   And, this is the VB client code...
>
>     Private Sub Command1_Click()
>
>     Dim client As New SoapClient30
>     client.MSSoapInit
> "http://sol2..immchen.com:8001/NASApp/soap/vbtest.wsdl"
>
>     On Error GoTo err_block
>         MsgBox client.getStringString("str")
>     Exit Sub
>     err_block:
>         MsgBox client.FaultCode
>         MsgBox client.FaultCodeNamespace
>         MsgBox client.FaultString
>
>     End Sub
>
>   Please  let me know, whether I am missing any critical steps.
>
>   Thanks in Advance,
>   Shankar Shanmugam
>
>


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


RE: Regd VB Client passing a String paramater to a web service implemented in Java

Posted by Shankar S <ss...@prodapt.com>.
Hi,

I found a temp solution for this issues raised by me.
http://www-1.ibm.com/support/techdocs/atsmastr.nsf/PubAllNum/TD100540?OpenDo
cument&ExpandSection=5,3#_Section5

Thanks,
Shankar Shanmugam
  -----Original Message-----
  From: Shankar S [mailto:sshankar@prodapt.com]
  Sent: Tuesday, September 17, 2002 11:07 AM
  To: soap-user@xml.apache.org
  Cc: Sudhakar S; Anantha Padmanabhan Vedachalam
  Subject: Regd VB Client passing a String paramater to a web service
implemented in Java


  Hi,

  The FAQ section in the Apache SOAP says

  " Does Apache SOAP work with Microsoft SOAP?
  Yes, but you need to install a patch to the MS SOAP package. One of the
well-known interoperability problems between Apache 2.0 and MS Soap is that
MS clients do not send type information with each parameter, and the Apache
soap server will reject such requests.

  James Snell has provided a patch adding the typing. It can be found at
SOAP-WRC web site.  "

  But, the link does not exists.
  Do you people have any idea about this?

  I am facing problem in sending a String a parameter from a VB client using
MSSOAP toolkit.
  I am getting this error......
  SOAP:FaultCode    Client
  SOAP:FaultNameSpace    http://schemas.xmlsoap.org/soap/envelope
  SOAP:Fault    No Deserializer found to deserialize a ':i" using the
encoding style "http://schemas.xmlsoap.org/soap/encoding/"

  I am also attaching the WSDL file and the java web service implementation.

  And, this is the VB client code...

    Private Sub Command1_Click()

    Dim client As New SoapClient30
    client.MSSoapInit
"http://sol2..immchen.com:8001/NASApp/soap/vbtest.wsdl"

    On Error GoTo err_block
        MsgBox client.getStringString("str")
    Exit Sub
    err_block:
        MsgBox client.FaultCode
        MsgBox client.FaultCodeNamespace
        MsgBox client.FaultString

    End Sub

  Please  let me know, whether I am missing any critical steps.

  Thanks in Advance,
  Shankar Shanmugam


RE: Regd VB Client passing a String paramater to a web service implemented in Java

Posted by Shankar S <ss...@prodapt.com>.
Hi,

I found a temp solution for this issues raised by me.
http://www-1.ibm.com/support/techdocs/atsmastr.nsf/PubAllNum/TD100540?OpenDo
cument&ExpandSection=5,3#_Section5

Thanks,
Shankar Shanmugam
  -----Original Message-----
  From: Shankar S [mailto:sshankar@prodapt.com]
  Sent: Tuesday, September 17, 2002 11:07 AM
  To: soap-user@xml.apache.org
  Cc: Sudhakar S; Anantha Padmanabhan Vedachalam
  Subject: Regd VB Client passing a String paramater to a web service
implemented in Java


  Hi,

  The FAQ section in the Apache SOAP says

  " Does Apache SOAP work with Microsoft SOAP?
  Yes, but you need to install a patch to the MS SOAP package. One of the
well-known interoperability problems between Apache 2.0 and MS Soap is that
MS clients do not send type information with each parameter, and the Apache
soap server will reject such requests.

  James Snell has provided a patch adding the typing. It can be found at
SOAP-WRC web site.  "

  But, the link does not exists.
  Do you people have any idea about this?

  I am facing problem in sending a String a parameter from a VB client using
MSSOAP toolkit.
  I am getting this error......
  SOAP:FaultCode    Client
  SOAP:FaultNameSpace    http://schemas.xmlsoap.org/soap/envelope
  SOAP:Fault    No Deserializer found to deserialize a ':i" using the
encoding style "http://schemas.xmlsoap.org/soap/encoding/"

  I am also attaching the WSDL file and the java web service implementation.

  And, this is the VB client code...

    Private Sub Command1_Click()

    Dim client As New SoapClient30
    client.MSSoapInit
"http://sol2..immchen.com:8001/NASApp/soap/vbtest.wsdl"

    On Error GoTo err_block
        MsgBox client.getStringString("str")
    Exit Sub
    err_block:
        MsgBox client.FaultCode
        MsgBox client.FaultCodeNamespace
        MsgBox client.FaultString

    End Sub

  Please  let me know, whether I am missing any critical steps.

  Thanks in Advance,
  Shankar Shanmugam