Hi,

I have my web service running in java. I have two methods that returns a String[] and a int[].
I have other methods that retruns a String or an int. These two methods are working fine.
I am getting an error for the other two methods (String[] and int[]).

This is the error....... :-(

FaultCode:Client
FaultString:SoapMapper:The schema definition with a targetnamespace of http://www.w3.org/1999/XMLSchema for SoapMapper int could not be found

SoapMapper:The schema definition with a targetnamespace of http://www.w3.org/1999/XMLSchema for SoapMapper int could not be found HRESULT=0x80004005: Unspecified error
 - SoapMapper:Can't create mapper for array element of type int in namespace http://www.w3.org/1999/XMLSchema. HRESULT=0x80004005: Unspecified error
 - SoapMapper:Restoring data into SoapMapper ArrayOf_xsd_int failed HRESULT=0x80004005: Unspecified error
 - Client:Unspecified client error. HRESULT=0x80004005: Unspecified error

Please find the java web service class, WSDL (generated using AXIS) and the VB client code.

VB Client Code:

Private Sub Command1_Click()

    Dim client As New SoapClient30
    Dim str()
    Dim error_str As String

    client.MSSoapInit "http://sol2.immchen.com:8001/NASApp/soap/vbtest.wsdl"

    On Error GoTo err_block

        'MsgBox client.getStringString("Array")
        client.getIntArray
    Exit Sub

    err_block:
        MsgBox "ERROR:" & Err.Description
    
        If client.FaultCode <> "" Then
        
            MsgBox client.FaultCode
           MsgBox client.FaultString
        End If
   
End Sub

 

Thanks in Advance,
Shankar Shanmugam

 

Attachment: VBTest.java
Description: Binary data

Attachment: vbtest.wsdl
Description: Binary data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


Reply via email to