Hi Bernd,

As Dan Diephouse help pointed out:

>I would say implement the service how you were then, take the incoming
>streams and pass it to STX. STX is SAX based, so you'll want to take a
look >at stax-utils to convert from a stax stream to a sax stream
(http://stax->utils.dev.java.net).

But if this is the interface of my service:

public class MyService {
  public XMLStreamReader invoke(XMLStreamReader reader) { 
    // do something with the stream;
    return responseStream;
  }
}

What would the WSDL going to be like? And How do I include the
XSD(schema) that describe the my incoming xml doc.

--danny

-----Original Message-----
From: Bernd Schuller [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 11:19 AM
To: [email protected]
Subject: Re: [xfire-user] Message Translator......

Hi Danny,

this is what you want I guess: http://xfire.codehaus.org/Message+Binding
You can pipe the XML token stream through some processing (such as 
Joost), and shove it right back.

Best regards,
Bernd.

Danny Trieu wrote:
>
> Also, How would I start my implementation of the service:
>
> 1) start with writing the WSDL that describe my service interface, 
> including the <wsdl:types/> that has the schema of my xml inDoc that 
> need to be translate?
>
> Or
>
> 2) I define the service interface like this:
>
> Interface MyService {
>
> XMLStreamReader/Document invoke( XMLStreamReader/Document theDocument
) ;
>
> }
>
> And generated the /WSDL/. And may be modify the generated /WSDL/'s 
> <wsdl:types/> to include the schema of the inDoc?
>



-- 
Dr. Bernd Schuller

Central Institute for Applied Mathematics
Forschungszentrum Juelich GmbH

mail  [EMAIL PROTECTED]
phone +49 2461 61 8736
fax   +49 2461 61 6656

Reply via email to