I'm really sorry!! I got confused myself, it's been a few years!!

Indeed you use wsimport to process the WSDL file if you want to use jaxws 
to access a SOAP web point.
"xjc" is a way to generate code that transforms the received XML response 
in Java classes and to populate objects.


wsdluri='https://www...?wsdl'
gensrcdir='.'
targetpackage='com.yourpackage'
resourcedir='.'
wsimport -s "$gensrcdir" -extension -p $targetpackage -keep "$wsdluri"


For the salesforce connector (the one we use) it's a bit more complicated, 
using their tool

java -cp force-wsc-30.0.0.jar:ST4-4.0.7.jar:antlr-runtime-3.5.jar  com.
sforce.ws.tools.wsdlc theWSDL.xml yourjar.jar target


Once you've generated that code, you use jaxws. But I can see you've posted 
another message so I'll read that first.
Parsing the returned XML is an additional step.



On Thursday, 11 February 2016 00:05:14 UTC+13, Jason Bourne wrote:
>
> It's alright, I'm quite confuse with how I can use JAXB. Let me ask you a 
> question, if you were to consume a soap web service, and you already have
> the WSDL. what do you do next? because you mentioned that you don't use 
> WSIMPORT. maybe there is another approach that I can do based on
> how you do it.
>

>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/75cf01af-78ab-44ff-aca6-19662ad28c83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to