Réf. : How to collect a SOAP Message

2005-09-08 Thread sylvain . vuillemet
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,

Re: Error in WSDL2Java

2005-09-08 Thread shantanu chawla
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

RE: Question about Redistributing Axis Program

2005-09-08 Thread J R
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)

RE: Error in WSDL2Java

2005-09-08 Thread Ebert, Chris
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

RE: Error in WSDL2Java

2005-09-08 Thread Tootell, James
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.

RE: Question about Redistributing Axis Program

2005-09-08 Thread Tootell, James
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-

Is there coming a schema support for facets, lists and regular expressions in Axis?

2005-09-08 Thread Juha Kononen
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

Error in WSDL2Java

2005-09-08 Thread shantanu chawla
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

Question about Redistributing Axis Program

2005-09-08 Thread J R
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

Socket timeouts for Call and for server?

2005-09-08 Thread Mario Felarca
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

Re: Strange Error: java.lang.String is not a simple type

2005-09-08 Thread rabidgremlin
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.

apache - axis integration

2005-09-08 Thread Ajay Samant
<>

Re: xalan 2.6 dependency?

2005-09-08 Thread Davanum Srinivas
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

xalan 2.6 dependency?

2005-09-08 Thread Andy Kriger
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

deserialization failing on client

2005-09-08 Thread Anthony Fox
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

Handling Castor Deserializer Errors

2005-09-08 Thread cornelius, chad
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  

Way to turn off XSITypeGeneration?

2005-09-08 Thread Brian Bonner
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

Re: How to collect a SOAP Message

2005-09-08 Thread Steve Viens
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

"Resource has been deleted" error in WS client app

2005-09-08 Thread Eduardo Elgueta
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()

Re: xsd declaration is not included in XML instance by the generated client proxy

2005-09-08 Thread Brian Bonner
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

Re: How to collect a SOAP Message

2005-09-08 Thread Stefan Schuster
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

Re: How to collect a SOAP Message

2005-09-08 Thread fabricio
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

RE: How to collect a SOAP Message

2005-09-08 Thread Zheng Li
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

Re: How to collect a SOAP Message

2005-09-08 Thread Stefan Schuster
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

How to collect a SOAP Message

2005-09-08 Thread fabricio
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

Re: Strange Error: java.lang.String is not a simple type

2005-09-08 Thread sanugu
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

xsd declaration is not included in XML instance by the generated client proxy

2005-09-08 Thread Brian Bonner
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

How to set Content-type

2005-09-08 Thread Barzilai Spinak
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

RE: Chunking mode?

2005-09-08 Thread BALDWIN, ALAN J [AG-Contractor/1000]
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

Axis Client can't load resource

2005-09-08 Thread Kovács Péter
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

Re: Attachment upload Client to Server, use Handlers?

2005-09-08 Thread Stefan Schuster
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

Re: Fw: Problem with session management

2005-09-08 Thread Jesús Daniel Blázquez Carazo
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

Axis 1.2.1, Problem with Complex type deserialization

2005-09-08 Thread Raphael Jacquemin
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

RE: Chunking mode?

2005-09-08 Thread Chris Nappin
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

Chunking mode?

2005-09-08 Thread smcardle
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..

Re: Fw: Problem with session management

2005-09-08 Thread Tom Ziemer
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

Fw: Problem with session management

2005-09-08 Thread Jesús Daniel Blázquez Carazo
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

Re: Attachment upload Client to Server, use Handlers?

2005-09-08 Thread Alexandre Touret
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

Re: Question on the 'start with WSDL' approach

2005-09-08 Thread James Wilson
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

Re: [Axis2] Migrating from Axis 1.x - (De-)Serializers

2005-09-08 Thread Ajith Ranabahu
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

Re: Question on the 'start with WSDL' approach

2005-09-08 Thread Guy Rixon
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

Re: SAX or StAX?

2005-09-08 Thread Eran Chinthaka
- 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

[Axis2] Migrating from Axis 1.x - (De-)Serializers

2005-09-08 Thread aii
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)

Re: Attachment upload Client to Server, use Handlers?

2005-09-08 Thread Stefan Schuster
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:

Re: Problem with session management

2005-09-08 Thread Jesús Daniel Blázquez Carazo
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) {

Re: Attachment upload Client to Server

2005-09-08 Thread Alexandre Touret
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

Re: [axis2]

2005-09-08 Thread Ajith Ranabahu
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

AW: DIME Attachment

2005-09-08 Thread Ferruh Zamangoer
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