Mapping unbounded xml elements to java

2006-10-05 Thread Gul Onural
Title: Mapping unbounded xml elements to java I initially intended to send this e-mail to Axiom mailing list, but looks like there is none for the users. Their mailing list seems to be for developers. I thought I would post this mailing list since people of this mailing list deal with xml

Re: [Axis2] Retrieving an MTOM attachment

2006-10-05 Thread Thilina Gunarathne
Hi, But when I traverse the "reportElement" there is only one child element i.e the "xop:Include" element. I can never get to the attachment itself. This can't be... Axis2 should automatically detect XOP:include and should create an OMText instead of XOP:Include... If possible please post your

you may have mapped two namespaces with elements of the same name to the same package name

2006-10-05 Thread Chris Donges
I am getting this error when running WDSL2Java. Can anyone help? org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name: gnaf_as4590_address_pkg\ComplexString.java. Hint: you may have mapped two namespaces with elements of the same name to the same package name. at org

[Axis2] Retrieving an MTOM attachment

2006-10-05 Thread spavuluri
Hello, I am trying to retrieve an MTOM attachment where the tcpmon shows a response that exactly looks like what was described in the MTOM guide. However, it looks like I am not retriving the attachment the right way in my client side. This is what I have: DeviceServiceStub.GetDiscrepancyReportR

RE: Adding custom transport to AXIS2

2006-10-05 Thread Syam Prasad
Yogen, Regarding your second question axis2.xml file will be in /WEB-INF/conf directory. Syam -Original Message- From: Yadav, Yogendra (IT) [mailto:[EMAIL PROTECTED] Sent: Thursday, October 05, 2006 1:40 PM To: axis-user@ws.apache.org Subject: RE: Adding custom transport to AXIS2 Plea

RE: Adding custom transport to AXIS2

2006-10-05 Thread Yadav, Yogendra \(IT\)
Please can someone provide me instructions on how to hook up a custom transport layer into AXIS2. I went thru the article below, I understood the concept of Senders, receivers, message receivers and phases. What I did not understand is the following... 1. What classes, methods, interfaces I need to

Re: [Axis2] Two different builders

2006-10-05 Thread Thilina Gunarathne
see my comments inline.. "org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder" and in another This is to handle non-mtom-optimised messages "org.apache.axiom.om.impl.mtom.MTOMStAXSOAPModelBuilder" This is to handle MTOM optimised messages... This builder identifies the XOP:Include element

[AXIS2] Java2WSDLTask missing Location parameter

2006-10-05 Thread Charak, Vikas
Title: How do I create Custom Faults Hi,   I could not find any parameter for Java2WSDLTask  [Ant task] to specify location of the service. By default it generates following   Does any one know about it? If not I will create an enhancement request.     Regards vikas

[Axis2] ServiceClient fails to read WSDL

2006-10-05 Thread Kedar, Shahar
Hi,   I'm getting the following exception when trying to initialize a new ServiceClient:   org.apache.axis2.AxisFault: WSDLExceptionWSDLException (at /SOAP-ENV:Envelope): faultCode=INVALID_WSDL: Expected element '{http://schemas.xmlsoap.org/wsdl/}definitions'.   My code is:   Servic

Re: Regarding Session Handling using Soap headers

2006-10-05 Thread robert lazarski
Not sure about the rampart. As for Axis2 examples, it's a user space implementation detail. I do have an example, but its part of a tutorial in portuguese: http://www.braziloutsource.com/wss2.html Search for 'Universally Unique Identifier' and there is a code example on how to use ehcache with U

Disable "Transfer-Encoding: chunked" response

2006-10-05 Thread HHDirecto . Net
Hi,How can I disable "Transfer-Encoding: chunked" in the response of my axis 1.4 webservice? Thanks in advance

RE: Regarding Session Handling using Soap headers

2006-10-05 Thread Wes Caldwell
Any examples or links to how to implement something like this in Axis 2? Does rampart support the WS-SecureConversation spec? Thanks, Wes -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Thursday, October 05, 2006 5:32 AM To: axis-user@ws.apache.org Subject: R

[Axis2] Two different builders

2006-10-05 Thread Syam Prasad
Hi folks,   I am developing two services in two different projects. The builders in two projects are different. In one of the projects the builder is “org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder” and in another “org.apache.axiom.om.impl.mtom.MTOMStAXSOAPModelBuilder” Why is i

RE: Error while in WSDL running a simple HelloWorld program

2006-10-05 Thread Kinichiro Inoguchi
You can find "version" service under samples/version folder. There you see version.jar. Rename this to version.aar, then deploy it. How about this ? --- "Reddy, Sanket (US - Hyderabad)" <[EMAIL PROTECTED]> wrote: > NO ..it doest solve the problem .. > > In browser it just gets me the main pag

RE: Error while in WSDL running a simple HelloWorld program

2006-10-05 Thread Reddy, Sanket \(US - Hyderabad\)
NO ..it doest solve the problem .. In browser it just gets me the main page which we get when we see the list of webservices And in XML ALTOVA spy I get back the HTML version of the above page. :( I am really stuck . Can anyone send me a sample working code? Regards Sanket -Original Mess

RE: Error while in WSDL running a simple HelloWorld program

2006-10-05 Thread Reddy, Sanket \(US - Hyderabad\)
NO ..it doest solve the problem .. In browser it just gets me the main page which we get when we see the list of webservices And in XML ALTOVA spy I get back the HTML version of the above page. :( I am really stuck . Can anyone send me a sample working code? Regards Sanket -Original Mess

Re: Error while in WSDL running a simple HelloWorld program

2006-10-05 Thread Kinichiro Inoguchi
Hi, I think your way is right with Axis2. Try call your service by REST, http://localhost:8080/axis2/rest/HelloWorld/sayHello?str=abcde Does this work ? Or got any errors ? Regards, kinichiro --- "Reddy, Sanket (US - Hyderabad)" <[EMAIL PROTECTED]> wrote: > Error while in WSDL running a simpl

Re: Regarding Session Handling using Soap headers

2006-10-05 Thread robert lazarski
The easiest / quickest way that has worked for me is to just use the java 5 java.util.UUID classs to create an id and then cache it via a singleton or ehcache. You can either put it in the header or pass / return it as a param. HTH, Robert On 10/5/06, shrabank <[EMAIL PROTECTED]> wrote: Hi Anne

Re: Regarding Session Handling using Soap headers

2006-10-05 Thread shrabank
Hi Anne, Isnt there any other way that we can handle the session except WS-Secure Conversation.Then 1.x how do you handle the session.What is the session management technique. Thanks in advance Regards Shraban Anne Thomas Manes wrote: This is a job for WS-SecureConversation. I'm not aware

Re: axis2 1.1

2006-10-05 Thread Thilina Gunarathne
We are hoping to do a couple of RC's prior to the much awaited 1.1... Hopefully you will be able to witness the Axis2 1.1 RC1 by tomorrow.. If we do not find major issues in RC's, we will be able to release the 1.1 in another 2-3 weeks... ~Thilina On 10/5/06, VF <[EMAIL PROTECTED]> wrote: Whe

Error while in WSDL running a simple HelloWorld program

2006-10-05 Thread Reddy, Sanket \(US - Hyderabad\)
Title: Error while in WSDL running a simple HelloWorld program Error while in WSDL running a simple HelloWorld program. Hi friends This is the first time I am trying axis2. And I am trying to run a simple helloworld program public class HelloWorld {    public String sayHello(String

Error in WSDL running a simple HelloWorld program.

2006-10-05 Thread Reddy, Sanket \(US - Hyderabad\)
Title: Error in WSDL running a simple HelloWorld program. Hi friends This is the first time I am trying axis2. And I am trying to run a simple helloworld program public class HelloWorld {    public String sayHello(String str) {   return "Hello :"+str ;    } } Services.xml

RE: [Axis2] RPCMessageReceiver is missing

2006-10-05 Thread Kedar, Shahar
Hi Dims, What codegen jar? Is it part of the standard distribution? Thanks, Shahar Kedar -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Thursday, October 05, 2006 3:11 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] RPCMessageReceiver is missing see codeg

Re: [Axis2] RPCMessageReceiver is missing

2006-10-05 Thread Davanum Srinivas
see codegen jar. -- dims On 10/5/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote: Hi, I'm using the latest nightly, and I was surprised to find that RPCMessageReceiver no longer exists!! Was it finally decided NOT to support RPCMessage (only raw xml)? Thanks, Shahar Kedar -- Davanum S

Schema Validation using Axis2

2006-10-05 Thread John Pfeifer
Title: Schema Validation using Axis2 I have created a test web service (see below).  This service uses the RawXMLINOutMessageReceiver and by default does not have a wsdl.  I created a WSDL  (where I defined the schema of the xml document) and placed it in the META-INF directory.  When I test

axis2 1.1

2006-10-05 Thread VF
When does pronounced Axis2 version 1.1 come? Vladi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Null Pointer Exception on call.invoke(new Object[]{"test"})

2006-10-05 Thread Caroline.Clewlow
Hi   I'm using Tomcat 5.5, Axis 1.4 and JDK 1.5.0_08.   I have used the Axis WSDL2Java to generate stubs for my service and produced a client that uses these.  The service produces a correct WSDL when i browse to http://localhost:8080/axis/services/Adder?wsdl.   The client however, produces a

[Axis2] RPCMessageReceiver is missing

2006-10-05 Thread Kedar, Shahar
Hi,   I'm using the latest nightly, and I was surprised to find that RPCMessageReceiver no longer exists!! Was it finally decided NOT to support RPCMessage (only raw xml)?   Thanks, Shahar Kedar

Re: Has anyone used CDATA for axis 2 successfully?

2006-10-05 Thread Anne Thomas Manes
Sending CDATA can be a little tricky. There are certain types of data that you just can't send that way. Using an attachment is probably better. Anne On 10/3/06, Punnoose, Roshan <[EMAIL PROTECTED]> wrote: Umm… not sure if you wanted something like this: OMTextImpl textData = (OMTextImpl

Re: Nee info..

2006-10-05 Thread Anne Thomas Manes
Once you retrieve the WSDL location, you can get the WSDL, and then use WSDL4J to retrieve all the other information from the WSDL. Anne On 10/3/06, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote: Hi Murali; is this about Axis2 ? or Axis 1.x if it is Axis2 pls see my comment in-line Murali K Sur

Re: service url for invoking service

2006-10-05 Thread Anne Thomas Manes
gSOAP should be sending the request to the URL specified in the location attribute in the WSDL service port. Make sure that this attribute value is specified properly. Anne On 10/4/06, Z Chen <[EMAIL PROTECTED]> wrote: Hi, I am deploying several web services with Axis2 and they have different

Re: Regarding Session Handling using Soap headers

2006-10-05 Thread Anne Thomas Manes
This is a job for WS-SecureConversation. I'm not aware of an implementation of WS-SecureConversation for Axis 1.x. Anne On 10/5/06, shrabank <[EMAIL PROTECTED]> wrote: Hi, Can anybody say how can we handle session using soap headers in axis 1.4? What necessary configuration is required to

Re: XSD With complexType definitions

2006-10-05 Thread Anne Thomas Manes
What are your namespace definitions? If you've set the default namespace to the targetNamspace, then the reference type="PurchaseOrderType" should work, but as a best practice, it's a much better idea to use explicit namespaces rather than the default namespace, e.g., ... Note that you also n

[Axis2] Tomcat startup error

2006-10-05 Thread Ferguson ENFIGLEY
I have the following error when starting tomcat with axis2, and after that axis2 works but all services failed (like the version sample).this error come from catalina.out.Can someone help me ?- Processing Context configuration file URL file:/etc/tomcat5/Catalina/localhost/admin.xml - Initializing,

XSD With complexType definitions

2006-10-05 Thread c b
Hi All, I have this an xsd which looks something like this,                   But whn I try to generate code using this xsd, it gives me a exception saying  type PurchaseOrderType is not found.   Why is this the case??   Thanks, CB __Do Y