Substitute XML in document style service

2004-08-10 Thread nils.mueller
Hi, is there a way to create a org.apache.axis.Message from a org.w3c.dom.Document? I have a document based web-service that acts as a proxy to other systems. I basically want to take a request, look into the message, substitute some values and then forward the message to the "real" webservice,

Re: Document Style Service with Attachments

2003-10-24 Thread Andrew Smith
)MessageContext.getCurrentContext().getResponseMessage(); > msg.addAttachmentPart(att); > msg.saveChanges(); > > return doc; > } > } > > Has anyone written an axis client for a document style service that can > handle an attachment? > > -a.

Document Style Service with Attachments

2003-09-26 Thread Andrew Smith
nseMessage(); msg.addAttachmentPart(att); msg.saveChanges(); return doc; } } Has anyone written an axis client for a document style service that can handle an attachment? -a. For completeness here is the MessageClient: public class MessageClient { public static void m

RE: 1.1 Document Style Service

2003-07-09 Thread Davanum Srinivas
rvices allowed to throw exceptions? Perhaps I > just need to > define a beanMapping for my exception type? > > Cory > > -Original Message- > From: Cory Wilkerson > Sent: Wednesday, July 09, 2003 5:14 PM > To: [EMAIL PROTECTED] > Subject: RE: 1.1 Document Styl

RE: 1.1 Document Style Service

2003-07-09 Thread Davanum Srinivas
son [mailto:[EMAIL PROTECTED] > Sent: Thursday, 10 July 2003 9:01 AM > To: [EMAIL PROTECTED] > Subject: RE: 1.1 Document Style Service > > > Issue quasi-resolved: > > The method signature I was exposing can throw a subclass of Exception I've created -- > GeoException

RE: 1.1 Document Style Service

2003-07-09 Thread Davanum Srinivas
y, July 09, 2003 5:12 PM > To: [EMAIL PROTECTED] > Subject: Re: 1.1 Document Style Service > > > Please open a bug report. See instructions at http://ws.apache.org/axis/bugs.html. > > Thanks, > dims > > --- Cory Wilkerson <[EMAIL PROTECTED]> wrote: > &g

RE: 1.1 Document Style Service

2003-07-09 Thread Nicholas Ardlie
age- From: Cory Wilkerson [mailto:[EMAIL PROTECTED] Sent: Thursday, 10 July 2003 9:01 AM To: [EMAIL PROTECTED] Subject: RE: 1.1 Document Style Service Issue quasi-resolved: The method signature I was exposing can throw a subclass of Exception I've created -- GeoException. Are Docum

RE: 1.1 Document Style Service

2003-07-09 Thread Cory Wilkerson
Cory Wilkerson Sent: Wednesday, July 09, 2003 5:14 PM To: [EMAIL PROTECTED] Subject: RE: 1.1 Document Style Service Will do -- but, is there an interim solution? I suppose I could hack the source. Additionally, I can't rollback to the release candidate as it generates yet another similar

RE: 1.1 Document Style Service

2003-07-09 Thread Cory Wilkerson
ECTED] Sent: Wednesday, July 09, 2003 5:12 PM To: [EMAIL PROTECTED] Subject: Re: 1.1 Document Style Service Please open a bug report. See instructions at http://ws.apache.org/axis/bugs.html. Thanks, dims --- Cory Wilkerson <[EMAIL PROTECTED]> wrote: > All, > > I'm having is

Re: 1.1 Document Style Service

2003-07-09 Thread Davanum Srinivas
Please open a bug report. See instructions at http://ws.apache.org/axis/bugs.html. Thanks, dims --- Cory Wilkerson <[EMAIL PROTECTED]> wrote: > All, > > I'm having issues with Axis generating WSDL for a document style service (the > service works if I > remov

1.1 Document Style Service

2003-07-09 Thread Cory Wilkerson
All, I'm having issues with Axis generating WSDL for a document style service (the service works if I remove the style/use attributes): Here's a snippet from my server-config.wsdd file -- as you can see, the GeoFindService has been successfull

Re: Question on Document Style Service Vs RPC Style Service ..

2003-06-15 Thread Anne Thomas Manes
point to a URN. (And then there's the fact that I would expect the two input arguments for to be numbers rather than strings.) Anne - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 14, 2003 10:58 AM Subject: Question on Document St

Question on Document Style Service Vs RPC Style Service ..

2003-06-14 Thread v . krishnamoorthy
ResponseMessage(); System.out.println("Response Message :"+respMsg.getSOAPEnvelope()); Method exposed as a webservice: public String add(Add parameters) throws java.rmi.RemoteException { String strMsg = parameters.getArg1(); return strMsg ; } Question Can we achieve the sam

Question on Document Style Service Vs RPC Style Service ..

2003-06-12 Thread v . krishnamoorthy
ResponseMessage(); System.out.println("Response Message :"+respMsg.getSOAPEnvelope()); Method exposed as a webservice: public String add(Add parameters) throws java.rmi.RemoteException { String strMsg = parameters.getArg1(); return strMsg ; } Question Can we achieve the sam

Question on Document Style Service Vs RPC Style Service ..

2003-06-11 Thread v . krishnamoorthy
ResponseMessage(); System.out.println("Response Message :"+respMsg.getSOAPEnvelope()); Method exposed as a webservice: public String add(Add parameters) throws java.rmi.RemoteException { String strMsg = parameters.getArg1(); return strMsg ; } Question Can we achieve the sam

RE: DOM as Parameter to Document Style Service

2003-06-11 Thread Anjaneya Swamy Varada
Hi Krishna Kumar,   Could you find a solution for this problem?   Thanks Swamy -Original Message-From: Krishnakumar B [mailto:[EMAIL PROTECTED]Sent: Wednesday, February 05, 2003 9:16 PMTo: [EMAIL PROTECTED]Subject: RE: DOM as Parameter to Document Style Service Hi

Trouble contacting Document style service

2003-03-14 Thread Slaybaugh Laura J IHMD
Hello, I am trying to deploy a document style web service with a single "echoString (String str)" function. However, I think I'm totally missing something. I've tried to call the function directly using the Call.invoke(Object[] args) method and by using the generated stubs created from the WSDL2J

RE: DOM as Parameter to Document Style Service

2003-02-05 Thread Krishnakumar B
PROTECTED]Subject: RE: DOM as Parameter to Document Style Service Hi   I generated the client stubs for Document style that takes  a DOM as parameter & returns a DOM but am getting this exception ( No serializer found for XmlDocument ). How do i fix this.   java.io.IOExcep

RE: DOM as Parameter to Document Style Service

2003-02-05 Thread Krishnakumar B
y 05, 2003 5:47 PMTo: [EMAIL PROTECTED]Subject: DOM as Parameter to Document Style Service Hi   I have a web service deployed that has the following method      public org.w3c.Document  process(org.w3c.Document doc)    {     ...     return Document;    }    

DOM as Parameter to Document Style Service

2003-02-05 Thread Krishnakumar B
Hi   I have a web service deployed that has the following method      public org.w3c.Document  process(org.w3c.Document doc)    {     ...     return Document;    }     My Client To access this web Service Looks like this   The doc contains a XML Document.   String namespace = "http://localh

Re: Document Style Service

2003-01-21 Thread Rolando Pablos Sánchez
our case. If you want a method with a int like a param just use the interface: method(int i). - Original Message - From: "Cory Wilkerson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Brian Speight" <[EMAIL PROTECTED]> Sent: Monday, January 20, 2003

Document Style Service

2003-01-20 Thread Cory Wilkerson
All, Could someone comment as to just what my WSDD file may look like if I've implented a document style service that looks like the following? I'm specifically curious as to how I describe the "someInstance" parameter to the method "method" -- and, will the W

Document Style Service

2002-07-22 Thread Sullivan, Mark E
Can anyone tell me the correct signature for a method in a message style service? I've gotten this to work: public Element[] PurchaseOrder(Vector elems) throws AxisFault { but it seems like there has to be a better way. thanks, mark

Re: document-style service

2002-06-27 Thread Sam Ruby
Alexander L. wrote: > > Turns out I was being fooled by the duplicate webapps structures-- > one in my tomcat installation, one in my axis installation. You've > got to put the classes in the tomcat installation directory! I > wonder why there is a "webapps" structure in the axis instllatio

Re: document-style service

2002-06-26 Thread Alexander L.
OK folks it's your favorite time of day-- when a newbie answers his own question. Turns out I was being fooled by the duplicate webapps structures-- one in my tomcat installation, one in my axis installation. You've got to put the classes in the tomcat installation directory! I wonder why the

Re: document-style service

2002-06-26 Thread Alexander L.
I forgot to mention-- The failure I consistently get on the server-side from running any of my Message-style services is a NullPointerException, as you can see below. In particular, the following lines could be enlightening. Personally I have no clue what it is doing or why there is the word

document-style service

2002-06-26 Thread Alexander L.
Hi, This is a question for people experienced in document-style web services. MessageService sample service works, but any attempt I make at a message service fails to work. Any hints as to what I am neglecting to do?? Here is more detail: I made a simple client which sends a single SOAP

RE: Document style service with two methods

2002-04-04 Thread Ramon Turnes
- > From: Stan Jordan [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 04, 2002 1:58 AM > To: [EMAIL PROTECTED] > Subject: Re: Document style service with two methods > > > Ramon... > Yup, I got it to work with 2 methods. I am most grateful for > your help. > Than

Re: Document style service with two methods

2002-04-03 Thread Stan Jordan
Ramon... Yup, I got it to work with 2 methods. I am most grateful for your help. Thanks! Stan - Original Message - From: "Stan Jordan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 03, 2002 8:06 AM Subject: Re: Document style service with tw

Re: Document style service with two methods

2002-04-03 Thread Stan Jordan
: <[EMAIL PROTECTED]> Sent: Wednesday, April 03, 2002 6:06 AM Subject: RE: Document style service with two methods > > Hi to both, > > well, actually I had figured out how to do it by taking a look at > the source code. Let's suppose this is my message service with >

RE: Document style service with two methods

2002-04-03 Thread Ramon Turnes
: Stan Jordan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 03, 2002 1:07 AM > To: [EMAIL PROTECTED] > Subject: Re: Document style service with two methods > > > Ramon & Steve... > This is not quite the answer you want, but may send you in the right > d

Re: Document style service with two methods

2002-04-02 Thread Stan Jordan
t.println(" divide= " + port.divide(10.0F, 3.0F)); } } - Original Message - From: "Steven Gollery" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 02, 2002 1:34 PM Subject: RE: Document style service

RE: Document style service with two methods

2002-04-02 Thread Steven Gollery
Ramon, I have the same problem -- I've been hoping that someone with more Axis experience than I have would jump in and either tell us how to do this or confirm that it can't be done for some reason. The only solution I've been able to come up with is one that you've probably already considered

RE: Possible bug in Alpha1 RC2: Document style service with two metho ds

2002-03-15 Thread Ramon Turnes
one whole day to this issue > and I think this is a bug because everything works fine if I remove > any of the methods from the deployment file: the right method is > always called. > > Can perhaps somebody from the developers list clarify me > how does Axis know which method to cal

Possible bug in Alpha1 RC2: Document style service with two methods

2002-03-14 Thread Ramon Turnes
s [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 14, 2002 11:57 AM > To: '[EMAIL PROTECTED]' > Subject: Document style service with two methods > > > Hi, > > I would like to have a service using Document style with two > methods but it seems that this i

Document style service with two methods

2002-03-14 Thread Ramon Turnes
Hi, I would like to have a service using Document style with two methods but it seems that this is not possible because the message dispatcher for Document style services checks for a method with the following signature: Document MyMethod(MessageContext mc, Document xml) { . } and t