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,
)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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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;
}
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
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
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
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
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
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
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
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
-
> 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
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
: <[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
>
: 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
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
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
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
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
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
36 matches
Mail list logo