Problem using a VB client to access a JAVA Webservice
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alexandre_Lima
Posted On:   Friday, December 19, 2003 09:38 AM

Hi people! I'm using JDeveloper (9.0.3) to create a JAVA Webservice on OC4J container. I followed tutorial of Oracle and I got to execute my webservice, including I can invoke my methods by HTTP using HTML forms. I need to invoke my methods using a VB Client with MIcrosoft SOAP ToolKit. My VB code is: Function autenticar(login As String, senha As String) Dim ObjWS As New MSSOAPLib30.SoapClient30 Dim retorno As Variant Call ObjWS.MSSoapInit("http://10.71.200.40:8888/iSimp-Web-Root/br.gov.anp.isimp.controleVersao.ControleVersaoEJB?WSDL") retorno = ObjWS.autentica(login, senha) autenticar = retorno End Function    More>>

Hi people!

I'm using JDeveloper (9.0.3) to create a JAVA Webservice on OC4J container. I followed tutorial of Oracle and I got to execute my webservice, including I can invoke my methods by HTTP using HTML forms.

I need to invoke my methods using a VB Client with MIcrosoft SOAP ToolKit. My VB code is:

			

Function autenticar(login As String, senha As String)

Dim ObjWS As New MSSOAPLib30.SoapClient30

Dim retorno As Variant

Call ObjWS.MSSoapInit("http://10.71.200.40:8888/iSimp-Web-Root/br.gov.anp.isimp.controleVersao.ControleVersaoEJB?WSDL")

retorno = ObjWS.autentica(login, senha)

autenticar = retorno

End Function



My webservice publish a method called autentica that receives two parameters (a login and a password) and authenticates to obtain access to my system.

When I try to execute this function, I got this message error:

			

No deserializer found to deserialize a ":login" using encoding style "http://schemas.xmlsoap.org/soap/encoding/". [java.lang.illegalArgumentException]



Anyone knows what is this error?    <<Less

Re: Problem using a VB client to access a JAVA Webservice

Posted By:   Alexandre_Lima  
Posted On:   Friday, December 26, 2003 06:53 AM

Thanks people! I'm already solve my problem.

Re: Problem using a VB client to access a JAVA Webservice

Posted By:   Christopher_Koenigsberg  
Posted On:   Wednesday, December 24, 2003 06:51 AM

I'm not sure, but your error message seems to indicate that you haven't properly specified the type, of your "login" parameter? presumably it should think the login parameter is a "string" ("xs:string"? I'm not sure how you should specify it), but instead it is saying that you have told it that the type is ":login", which makes no sense to it.

About | Sitemap | Contact