In my case, I have a given WSDL file that didn't own a service element, that 
means no specific server. This server always changes and should be set in my 
code.
If I use wsdl2java, I always get the error that the service element is missing. 
Is it possible to generate the code for a generic server anyway?

Von: Stadelmann Josef [mailto:josef.stadelm...@axa-winterthur.ch]
Gesendet: Mittwoch, 1. Juni 2011 18:27
An: java-user@axis.apache.org
Betreff: AW: WSDL without service element?

WSDL is all XML!
If you catch/develop the proper XSLT file I am pretty sure you can translate 
one xml into another xml using an XSLT approach.
BUT if what you have removed is somehow referenced in the reaming parts , then 
you are on your own to include what you need to make code generators happy. :)
Josef

Von: Steffen Schäffner [mailto:steffen.schaeff...@seetec.de]
Gesendet: Dienstag, 31. Mai 2011 10:38
An: java-user@axis.apache.org
Betreff: WSDL without service element?

Is it possible to generate code from an wsdl file without an service element? 
If yes, how to do that?

Reply via email to