Thanks for your reply, Jeff.
Accessing the WSDL content is no problem. I can do that and creating a
Definition object is also no problem. What I want however is to have the
input/output/fault Part content as DOM or an XML containing String.
So something like
WSIFMessage input = wsifo.createInputMessage();
WSIFMessage output = wsifo.createOutputMessage();
WSIFMessage fault = wsifo.createFaultMessage();
operation.executeRequestResponseOperation(input, output, fault);
String arg1 = output.getPartAsXML("arg1");
String arg2 = output.getPartAsXML("arg2");
Cheers, Jos
On Monday 16 August 2004 17:43, Jeff Greif wrote:
> You can use a java.net.URL for the WSDL address and any XML parser (such as
> Xerces) to produce a DOM and access what you want from it.
>
> Then, you can give the DOM Document to WSIF as one of the arguments to
> org.apache.wsif.util.WSIFUtils.readWSDL(String contextURL, Document
> wsdlDoc), which returns the Definition object and its various related
> objects representing the WSDL constructs.
>
> Jeff
> ----- Original Message -----
> From: "Jos van den Oever" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, August 16, 2004 12:57 AM
> Subject: Re: using raw XML or mapping everything to String
>
> > Hello all,
> >
> > Thanks for your reply, Alek.
> >
> > I'd like to access the DOM directly in a provider independent manner, but
> > cannot find how to get the DOM nodes corresponding to the WSDL Messages
>
> from
>
> > WSIF. Can you give me a pointer to the required functions/classes.
>
> Grepping
>
> > WSIF javadoc for 'DOM' yields nothing.
> >
> > I need to access all services dynamically.
> >
> > Best regards, Jos