1
I have no knowledge in WEB-SERVICES
, this being the first time I’m using.
After a lot of research I was able to "import" the WSDL file into java and with it "map" all classes of the Web-Service
, but it created me many classes and now I don’t know which to use.
The web-service
was developed in PHP
with the NuSOAP
, and I think it uses an ancient technology, something like JAX-RPC STYLE
(I had to install the plugin in netbeans to be able to do this mapping).
Now in web-service I have for example this function:
List_products
How I can list these products?
Classes I have relating to this:
Lista_produtos.java
Lista_produtos_SOAPBUiler.java
Lista_produtos_SOAPserializer.java
RealtimeWebService.java//Penso que são as class principais
RealtimeWebService_Impl.java//Penso que são as class principais
RealtimeWebServicePortType.java
RealtimeWebServicePortTypeLista_produtosRequestStruct.java
RealtimeWebServicePortTypeLista_produtosRequestStruct_SOAPBuiler.java
RealtimeWebServicePortTypeLista_produtosRequestStruct_SOAPSerializer.java
By name you can tell me how to do it? That is, it is usually Generic or depends on the implementation of each WSDL?
No, so it doesn’t work, certainly due to the way it was built the
WSDL
, but fortunately I have already solved the problem, however thank you the same.– jsantos1991
Yes, I have already implemented a service in Nusoap and I consumed it in java this way. The error that gave to you may have been for other reasons. Perhaps the generated WSDL is from an older SOAP specification (changes according to the version of nusoap), etc... I can’t comment on your comment without knowing, specifically, what the problem was.
– squallsv