Is it correct that you are using Apache SOAP 2.2? If so, you may want to use 2.3.1, which has a year of improvements over 2.2. It may work with the WSDL you attached.
For your current installation, you may have success if you edit the WSDL to change http://www.w3.org/2001/XMLSchema to http://www.w3.org/1999/XMLSchema. Your SOAP service is sending the latter, while Axis generated WSDL with the former. I believe SOAP 2.3.1 would send the former, matching the WSDL. I am *not* 100% certain that the change described will solve your problem, but it is the first thing that comes to mind. Scott Nichol ----- Original Message ----- From: "Shankar S" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Sudhakar S" <[EMAIL PROTECTED]>; "Anantha Padmanabhan Vedachalam" <[EMAIL PROTECTED]> Sent: Thursday, September 19, 2002 5:21 AM Subject: Regd VB Client calling a methid that return a String[] > 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 > > > > ---------------------------------------------------------------------------- ---- > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
