|
Hi Volkmann,
Sorry I forgot to mention an important point ... In your document ( which you are passing to the service method) for the root element add namespace. That may help you to remove call to setOpertionName method.
Hope this helps... Cheers, Ranjith
-----Original Message-----
Based on the suggestions I've received, I now have a working example of passing a DOM Document to a service and getting one back in return. I've included the code below (with comments and some whitespace removed) for those interested in the details. I'm still wondering if this is the simplest possible way to do it. See the comments in the code below for my remaining questions. If this is the simplest approach then we certainly need documentation on some of the steps that I would have never guessed without help from this mailing list. deploy.wsdd <!-- either style="message" OR
provider="java:MSG" will work --> MessageService.java package com.ociweb.axis; MessageClient.java (This is the part that seems overly
complicated!) package com.ociweb.axis; import java.net.URL; public class MessageClient { public static void main(String[]
args) throws Exception { private MessageClient(String port)
throws Exception { private Call getCall() throws
Exception { private Document getDocument()
throws ParserConfigurationException { private Document
passDocument(Document doc) throws Exception {
|
RE: message-style frustrations (this time in plain text)
PILLAI,RANJITH (HP-PaloAlto,ex1) Mon, 08 Sep 2003 15:21:20 -0700
Title: RE: message-style frustrations (this time in plain text)
- message-style frustrations (this time in ... Volkmann, Mark
- Re: message-style frustrations (this... remko de knikker
- RE: message-style frustrations (this... PILLAI,RANJITH (HP-PaloAlto,ex1)
- RE: message-style frustrations (this... Volkmann, Mark
- Valid signature for AXIS Message... Sateesh Ayyagari
- Route the SOAP message to th... Sateesh Ayyagari
- RE: message-style frustrations (this... PILLAI,RANJITH (HP-PaloAlto,ex1)
- RE: message-style frustrations (this... Volkmann, Mark
- RE: message-style frustrations (this... PILLAI,RANJITH (HP-PaloAlto,ex1)
- Schema checking problem about xsi:ni... PILLAI,RANJITH (HP-PaloAlto,ex1)
- Schema checking problem about xs... Cheng Po-wen
- Re: Schema checking problem ... Jeff Greif
- multiRef & Schema Checking Cheng Po-wen
- RE: message-style frustrations (this... Volkmann, Mark
