Hi,
You can write a handler (seee handlers and chains) that accesses the
request part of the MessageContext.
Regards
[EMAIL PROTECTED] le 08/09/2005 13:20:17
Veuillez répondre à axis-user@ws.apache.org
Pour : axis-user@ws.apache.org
cc :
Objet : How to collect a SOAP Message
Hello all,
thanks, for pointing out. yes its was misspelled. it works now
On 9/8/05, Ebert, Chris <[EMAIL PROTECTED]> wrote:
>
> Also, it looks like you're on a Windows box. Maybe you mistyped, but in
> your classpath it shows %AXIS_LIB, rather than %AXIS_LIB%.
>
> -Original Message-
> From: Toote
I am using Axis 1.2 Where is the location of
xmlsParsersAPIs... or what does the file look like...
everytime I try to run the program I get the error
Exception in thread "main"
java.lang.NoClassDefFoundError: javax/xml/rpc/Service
at java.lang.ClassLoader.defineClass1(Native
Method)
Also, it looks like you're on a Windows box. Maybe you mistyped, but in
your classpath it shows %AXIS_LIB, rather than %AXIS_LIB%.
-Original Message-
From: Tootell, James [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 08, 2005 17:26
To: axis-user@ws.apache.org; [EMAIL PROTECTED]
Sub
It seems like wsdl4j.jar is not being found. Looking at your classpath,
the other jars have explicit paths but you used an environment variable
for wsdl4j.jar and maybe it's not being exported. Also, if you are on a
Windows box, environmental variables need to be enclosed by two percent
signs (e.
I'm going through something similar. From what I've found, you need the
following jars on your classpath: axis, commons-discovery,
commons-logging, jaxrpc, saaj, wsdl4j, xercesImpl, and xmlsParsersAPIs.
The versions will depend on the version of Axis you're using.
JT
-Original Message-
Hi,
I'm working on a big and complicated xml structure called CDA R2
(anyone heard or used?). CDA R2 is a specification being developed at
the moment by HL7 (www.hl7.org).
It is intended to be used in health care information systems and it
contains a patient record.
Well, the problem is that this
Hi folks
I am using axis 1.2RC3. Whenever I run
java org.apache.axis.wsdl.WSDL2Java myService.wsdl i get the following error
Exception in thread "main" java.lang.NoClassDefFoundError: javax.wsdl.Definition
at org.apache.axis.wsdl.toJava.JavaGeneratorFactory.class$(JavaGenerator
Factory
Hi All.
As a newbie to Axis client materials, I have a
question:
I have been reading
http://ws.apache.org/axis/java/client-side-axis.html#Redistribution...
I have created a program using WSDL2Java and some axis
packages. I want to JAR everything up and send it to
another person to execute. They
Hey all,
I have a Call object where the socket seems to be
timing out silently at 18 milliseconds. I have
tried setting the timeout on the Call object to both 0
and 36, however that has not worked.
I have also checked the timeout setting on my tomcat
http and https connectors to ensure th
No I have'nt found a solution :(
I did find an older post from someone else with a similar problem but no resolution either.
I think it may be tied up with issue AXIS-2096.
<>
please post the stack trace (in a new bug report)
thanks,
-- dims
On 9/8/05, Andy Kriger <[EMAIL PROTECTED]> wrote:
> We tried upgrading to Xalan 2.7 today and it appears Axis has a
> dependency on 2.6 (ClassNotFoundException for
> org/apache/xpath/compiler/FuncLoader). Does anyone know how depen
We tried upgrading to Xalan 2.7 today and it appears Axis has a
dependency on 2.6 (ClassNotFoundException for
org/apache/xpath/compiler/FuncLoader). Does anyone know how dependent
Axis is on Apache's xpath func? Is there any plan for another release
of Axis that will be compatible with 2.7?
thx
an
I am encountering a problem where deserialization is returning null on
the client side even though the server is returning the appropriate
data. I have a webservice that returns a complex type ServiceStatus.
ServiceStatus is an abstract class so the actual return type is a
class that extends Serv
Does anyone know how, if possible, to catch Deserializer
errors using the CastorDeserializer within Axis? Basically, I want to capture
the error so that I can send an email notification of the error.
Thanks,
Chad
Cornelius, IIS
(720) 921-7835
I did more research and it looks like org.apache.axis.message.RPCParam
is generating the XSIType info. There's a method to turn this
generation on/off, but it looks like the Call class doesn't use it.
Is there anyway to turn this off or include the schema in the outer
element? Thanks.
Bria
Fabrício, this might help:
Take a look at the doPost method.
http://cvs.apache.org/viewcvs.cgi/ws-juddi/src/java/org/apache/juddi/registry/AbstractService.java?view=markup
Steve
On 9/8/05, Stefan Schuster <[EMAIL PROTECTED]> wrote:
The projects WSIF and JROM may be just what you want. Take
Hi All,
In the following code, I get a "java.io.IOException: Resource has been
deleted". What am I doing wrong?
SOAPMessage reply = con.call( soapMsg, endPoint );
con.close();
boolean fault =
reply.getSOAPPart().getEnvelope().getBody().hasFault();
config.getLog()
I also wonder why xsi:type="xsd:string"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; is being generated
in the instance document that is being sent from the Stub. This doesn't
need to be there. Is there a way to not have this be generated? Is
there a WSDL2Java switch that I'm unawa
The projects WSIF and JROM may be just what you want. Take a look,
best regards,
Stefan
[EMAIL PROTECTED] wrote:
Yeah,
it sounds strange, but I think by this way I could realize my dream about make a
web service that can receive any complex type. I could extract the information
about those a
Yeah,
it sounds strange, but I think by this way I could realize my dream about make a
web service that can receive any complex type. I could extract the information
about those analysing the SOAPMessage. It's being hard to achieve it! :-/
Thanks a lot.
Fabricio.
Citando Stefan Schuster <[EMAIL
The SOAP monitor can intercept the SOAP messages for a web service. After
get the SOAP message, just use a XML parser to extract the info you want. I
just programmed a SOAPMonitorClient which can get the SOAP request and
respond messages for a service and extract the operation and parameters from
S
Hi,
take a look at MessageContext.getMessage() -> should allow access to the
SOAP
message. But think about it if you really want to do this, sounds like
reinventing the wheel...
You may also be interessted in the service styles (wrapped, document,
etc,...) some
of them may give you an XML-do
Hello all,
Is there a way to implement a web service that can collect all the SOAPBody from
a SOAP Message? For instance, I have a client that sends the soap message to my
Web Service (WSA). My WSA must collects the SOAP Message, SOAP Body is most
important. And then, parse it as a XML file.
I d
I am getting a similar exception. Have you found any solution?
-sanugu
On 9/6/05, rabidgremlin <[EMAIL PROTECTED]> wrote:
Hi All,I'm deploying a webservice under access. I have an attribute named destinationPort which is defined as an xs:string.
I've used WSDl2Java to generate my stubs/skeleton
I used WSDL2Java to create a client of a Document/Literal Web Service.
When I use the generated Proxy to call the service, the document that
ends up being generated includes: xsi:type="xsd:string"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
in the elements, however, xsd is not d
I'm using Axis 1.1 and recently became aware of a problem when sending
Strings with non-ASCII characters. Even though the Soap message is
serialized with a encoding="UTF-8" header, the contents is NOT UTF-8
but, at least in my case, ISO-8859-1 (I guess it depends on the default
encoding for the
Axis can support sending in a List of documents. We were having the same
issues with out of memory errors trying to run xpath on very large
documents. We changed the interface to support a list of documents, and
broke the messages up using xslt at the client. See the attached xslt
example if you
Hello!
My Axis client hangs up at the very first line:
Service service = new Service();
The problem is that the resource.properties file from the location
org.apache.axis.i18n cannot be loaded.
The weird thing is that the code on an other machine with same config
(JVM 1.5.0_04, Tomcat 5.5, A
The client uses Axis. My problem is that in the client, I cannot
get an Message context before the first call to the server through the
stubs. The trace shows a simple NullPointerException in my client.
Stefan
Alexandre Touret wrote:
Could you send the stack trace
May be that your client doesn
Thanks for your help.
Do you how to do this including session in SOAP Message independent http
transport protocol.
Client which invoke web services can be java, net, workflow and transport
protocol can be another than http.
I have read it is possible but in fact it does not work.
- Orig
Hello everybody,
I use Axis 1.2.1
I try to developp a client for the WS-MetadataExchange specification.
Here is the schema XML :
targetNamespace='http://schemas.xmlsoap.org/ws/2004/09/mex'
xmlns:tns='http://schemas.xmlsoap.org/ws/2004/09/mex'
xmlns:wsa='http://schemas.xmlsoap.org/ws
XML doesn't chunk very well. You could always re-design your interface
so that smaller messages are being transmitted?
e.g. use the "Iterator" design pattern (requires your service to be
stateful, of course)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 08 Se
Hi all,
I was wondering if there is a chunking feature in Axis ?
We have extreamly large response messages and our system is falling over with
out of memory. For instance, processing the response on the WLS site allocates
almost 2 gig of ram and our client falls over with an OutOfMemory error..
Hi,
I had the same problem and I asked the same question on this list.
AFAIK, there is no "clean" solution - what I did eventually was
something like this:
Call 1 (serviceA), via stub: String sessionId =
xxxStub._getCall().getMessageContext().getProperty(HTTPConstants.HEADER_COOKIE);
Call
I think problem I have is because AxisEngine is
distinct in each call to web service and the information of this is in
MessageContext.
Someone knows how can I do MessageContext
contains the same AxisEngine in two call to web services?
I want to call two web services: the first call
conta
Could you send the stack trace
May be that your client doesnt support attachments
Stefan Schuster wrote:
Hi Alexandre,
I already got the server-side working. The problem is that
a client fails to get the messageContext bevore the first call.
I wonder if I can use handlers on the client an
I agree with Guy's point. However, I think Shantanu's point is correct that
wsdl2java shouldn't need a 100% of the WSDL. I've worked with Tibco's
BusinessWorks project and if memory serves, they used a partial WSDL to
generate the service along with some configuration values to complete the
bindi
Hi Aii,
The Axis2 way of dealing with this (BTW we call it 'data binding' :))
is through a well known framework like XMLbeans. The current
implementation has the XMLBeans integrated and should generate the
proper code (classes) for the complex types. These classes however
would NOT look like the us
I think the Java binding tools have to work with the WSDL binding; the
port-type is not enough. Consider the difference between rpc/literal and
document/literal bindings for the same port-type: the document one puts the
message parts directly inside the SOAP body and the rpc one interposes an
eleme
-
Original Message -
From:
[EMAIL PROTECTED]
To:
axis-user@ws.apache.org
Sent:
Thursday, August 11, 2005 11:06 PM
Subject:
SAX or StAX?
Hi everybody,
I’ve got an SOAP-Message stored in a byte-array data:
// copy the data (S
Hi all,
if your service return a complex type like 'MyType', which is build up of
Java Beans, Axis 1.x is able to generate the service code automatically by
using 'BeanSerializerFactory' in conjunction with 'WSDL2Java'.
Is axis2 able to generate the complete service code automatically
(WSDL2Java)
Hi Alexandre,
I already got the server-side working. The problem is that
a client fails to get the messageContext bevore the first call.
I wonder if I can use handlers on the client and how
to configure them?
BTW. Thanks for the suggestion, it almost helped :-)
Stefan
Alexandre Touret wrote:
I use a cliente with classes generated by
WSDL2Java.
Code generated is:
protected org.apache.axis.client.Call
createCall() throws java.rmi.RemoteException
{ try
{
org.apache.axis.client.Call _call =
super._createCall();
if (super.maintainSessionSet)
{
Stefan Schuster wrote:
Hi everybody,
how can I send an attachment from the client to an server without
using the DataHandler in the method signature? I tried
to get the MessageContext (getCurrentMessageContext()), but it
returns null.
How can I obtain an messageContext to set the attachment to
Hi,
Well XMLBeans is invoked in a highly programmatical way inside Axis so
none of the usual scomp things would work here. I was actually thinking
of providing users a chance to pass on a framework specific
configuration file with the arguments for the code generator (which
unfortunately I have not
Hi Jerome,
I had posted an example how to send a dime attachment on Mo 06.06.2005 17:02
take a look.
Regards
Ferruh
-Ursprüngliche Nachricht-
Von: Jérôme PICARD [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 7. September 2005 09:43
An: axis-user@ws.apache.org
Betreff: DIME Attachment
48 matches
Mail list logo