Re: [Axis2] Axis2/C support for AIX?

2008-06-15 Thread Samisa Abeysinghe
Looking at the trace, my gut feel is that it fails doe to the call axis2_handler_set_invoke(handler, env, axis2_addr_in_handler_invoke); on line 102 of addr_in_handler.c What really happens here is a function pointer assignment. Could you please step into this call and see how it goes. Also,

Re: [Axis2] Axis2/C support for AIX?

2008-06-15 Thread Samisa Abeysinghe
On a related question, do we have to do anything special to get function pointers to work on AIX? Again, I am asking this because it seems to crash where a function pointer assignment is taking place. Samisa... Samisa Abeysinghe wrote: Looking at the trace, my gut feel is that it fails doe to

Re: trouble generating code from WSDL with multiple schemas

2008-06-15 Thread Anne Thomas Manes
Actually, this won't work. You want to define foo as a simpleType that restricts xs:string, e.g., xs:simpleType name=foo xs:restriction base=xs:string/ /xs:simpleType Anne On Sat, Jun 14, 2008 at 5:03 PM, Jake Goulding [EMAIL PROTECTED] wrote: Ack, please disregard - turns out I had a

Re: WS-I Compliance Assertion: BP2402

2008-06-15 Thread Anne Thomas Manes
Muralidaran, I'm at a loss to explain why you are receiving the BP2404 validation error. As far as I can see, your WSDL contains a valid SOAP binding. Which validation tool are you using? Perhaps it is looking for the literal string soapbind:binding rather than the semantic equivalent -- in your

Re: How do I get rid of xsi:type attributes?

2008-06-15 Thread Anne Thomas Manes
Try naming your derived simpleType: xs:element name=AntalBarnHemma type =tns:AntaBarnHemmaType/ xs:simpleType name=AnteBarnHemmaType xs:restriction base=xs:short xs:totalDigits value=1 / xs:minInclusive value=0 / xs:maxInclusive value=9 / /xs:restriction

Re: Circular reference serializing problem

2008-06-15 Thread Anne Thomas Manes
Axis2 does not support SOAP Encoding. Try Axis instead. Or use a flatter object model. Keep in mind that SOAP is not a distributed object middleware system. XML is good for exchanging hierarchical data structures. It's not so good at exchanging rich object graphs. Anne On Thu, Jun 12, 2008 at

Re: NoSOAPAction Error...!!!

2008-06-15 Thread Anne Thomas Manes
As the error message indicates, you need to add a SOAPAction header to the HTTP message. In your client code: MimeHeaders hd = smsg.getMimeHeaders(); hd.addHeader(SOAPAction, urn:yoursoapaction); See http://users.skynet.be/pascalbotte/rcx-ws-doc/saajpost.htm for a sample SAAJ

Re: Axis 1.4 - When using Java2WSDL, my ip address appears in the impl, intf and targetnamespace. How can I change this?

2008-06-15 Thread Anne Thomas Manes
Specify the -n switch and provide a namespace of your choice. See http://ws.apache.org/axis/java/user-guide.html#Java2WSDLBuildingWSDLFromJava Anne On Thu, Jun 12, 2008 at 12:30 PM, Josh [EMAIL PROTECTED] wrote: When using Axis 1.4's Java2WSDL, my ip address appears in the impl, intf and

Re: Anonymous ServiceClient - How Does it Know Which Operation to Invoke

2008-06-15 Thread Anne Thomas Manes
See http://wso2.org/library/176 Anne On Thu, Jun 12, 2008 at 12:12 PM, jaybytez [EMAIL PROTECTED] wrote: I just have a quick question on a piece of Axis2 that I am not understanding. If I have a WSDL with multiple operations and I create an instance of ServiceClient using the default

Re: Customizing Axis2 XML response generation

2008-06-15 Thread Anne Thomas Manes
You will need to customize the WSDL generated by NetBeans. Currently your types section maps each Java object attribute to an XSD element. You need to redefine them as XSD attributes. Anne On Tue, Jun 10, 2008 at 11:33 AM, Alessio Brescia [EMAIL PROTECTED] wrote: Hi everyone! I've got a

Re: WS-I Compliance Assertion: BP2402

2008-06-15 Thread Martin
http://www.w3.org/TR/xmlschema-0/#ref50 This behaviour of elementFormDefault=qualified when attributeFormDefault=unqualified seems counter-intuitive WSDLv1 supports only SOAP 1.1 WSDLv2 supports only SOAP 1.2 http://www.scribd.com/doc/2558987/ImplementingSOA More importanylu Which BPEL engine

RE: WS-I Compliance Assertion: BP2402

2008-06-15 Thread Martin Gainty
agreed...I couldnt locate the BP2404 error a quick perusal of the doc located at http://www.w3.org/TR/xmlschema-0/#ref50 This behaviour of elementFormDefault=qualified when attributeFormDefault=unqualified seems counter-intuitive My understanding is that WSDLv1 supports only SOAP 1.1 My

RE: Circular reference serializing problem

2008-06-15 Thread Rahul Juneja
Anne, Thanks for the reply, but what is the option in which I can create such a service and use AXIS2 for creating the client. I have tried working with XMLTransient annotation on the variable declaration as well its getter but even that doesn't work. What do you think can be a reason of

[Axis2] Extensions to Axis2/Java deployment engine

2008-06-15 Thread Saminda Abeyruwan
Hi All, We are discussing the possibility of ${subject} using OSGi. Please refer to [1]. We would really appreciate your take on this and use case that come up with. Summary: 1. Being able to deploy aar/mar as OSGi bundles. 2. This wouldn't break the backward compatibility. 3. axis2-kernel

Re: Customizing Axis2 XML response generation

2008-06-15 Thread Amila Suriarachchi
When you deploy a service as a POJO it generates a WSDL in a standard manner. If it is not the one you want you have to change the wsdl/xsd accordingly and regenerate the code. you can use wsdl2java tool to generate the code. thanks, Amila. On Sun, Jun 15, 2008 at 8:35 PM, Anne Thomas Manes

Re: Anonymous ServiceClient - How Does it Know Which Operation to Invoke

2008-06-15 Thread Amila Suriarachchi
On Thu, Jun 12, 2008 at 9:42 PM, jaybytez [EMAIL PROTECTED] wrote: I just have a quick question on a piece of Axis2 that I am not understanding. If I have a WSDL with multiple operations and I create an instance of ServiceClient using the default constructor, not the constructor that passes