Re: simple response parsing question

2008-10-21 Thread Supun Kamburugamuva
This will help you. http://ws.apache.org/axis2/c/docs/om_tutorial.html Supun. On Tue, Oct 21, 2008 at 8:56 PM, Mark Webb [EMAIL PROTECTED] wrote: I have a web service client written in Axis2C and am getting the response back properly. The response is just a long value. Here is the XML I

Re: simple response parsing question

2008-10-21 Thread Mark Webb
Perfect! Thank you. On Tue, Oct 21, 2008 at 1:46 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: This will help you. http://ws.apache.org/axis2/c/docs/om_tutorial.html Supun. On Tue, Oct 21, 2008 at 8:56 PM, Mark Webb [EMAIL PROTECTED] wrote: I have a web service client written in

Re: simple response parsing question

2008-10-21 Thread Tony Hoyt
I glanced at that tutorial myself, and I notice a few things. It seems to me the tutorial is out of date and in some cases, the sample code is missing language. Code Listing 10 is missing several of the C operations, if and return. I seem to recall that some of the code listings used

Re: How to set the content type of SOAP request to TEXT/XML

2008-10-21 Thread donald yang
Hi Supun, Thank you very much for your reply. I have explicitly disbaled the MTOM by calling axis2_options_set_enable_mtom(option, env, AXIS2_FALSE) I don't know why the axis2c1.4 still create the SOAP request with the content type of multipart/related. Could you please advise me what are other

How to Set Submission Addressing?

2008-10-21 Thread David Taylor (Lowell)
I have read that AXIS2/C supports both version 1.0 and the pre-1.0 submission version of WS-Addressing. However, I can't find instructions or an example of how to configure a client to use submission addressing. I would appreciate any help you can give me. Thanks, -David K. Taylor

Re: How to set the content type of SOAP request to TEXT/XML

2008-10-21 Thread Samisa Abeysinghe
Check if you have set this in axis2.xml Also use SOAP 1.1 for text/xml content type. Samisa... donald yang wrote: Hi Supun, Thank you very much for your reply. I have explicitly disbaled the MTOM by calling axis2_options_set_enable_mtom(option, env, AXIS2_FALSE) I don't know why the

Re: How to Set Submission Addressing?

2008-10-21 Thread Manjula Peiris
On Tue, 2008-10-21 at 18:03 -0400, David Taylor (Lowell) wrote: I have read that AXIS2/C supports both version 1.0 and the pre-1.0 “submission” version of WS-Addressing. However, I can’t find instructions or an example of how to configure a client to use submission addressing. I would

Re: Clustering and passive replication

2008-10-21 Thread Afkham Azeez
Hi Igor, At the moment, a member can only be started in the ACTIVE state. I started work last week on making it possible to configure a member to be ACTIVE or PASSIVE in the cluster configuration section. Part of this work is already available in the trunk. When an active member fails, the

[axis2] Huge .java generated by wsdl2java

2008-10-21 Thread Bartolomeo Nicolotti
Hi I'm using axis2 to consume document/literal web services, but one xsd for Galileo travel supplier is is 64227 lines long and the .java generated by wsdl2java is 12Mb and the corresponding Impl.java is also 34Mb long. The preblem is that when I must compile these .java it takes 10minutes. Does

Re: [axis2] Huge .java generated by wsdl2java

2008-10-21 Thread keith chapman
Did you use the -u option when generating code? If not try using it this will unpack the code and create a java class for each datatype used. Thanks, Keith. On Tue, Oct 21, 2008 at 3:33 PM, Bartolomeo Nicolotti [EMAIL PROTECTED]wrote: Hi I'm using axis2 to consume document/literal web

Re: [axis2] Huge .java generated by wsdl2java

2008-10-21 Thread Bartolomeo Nicolotti
No, I don't use -u option, the command is: wsdl2java.sh -uri Galileo.wsdl -S JavaSource/XMLSelectClient -s -sd -ssi -sp -d xmlbeans -o .. -ns2p [... namespace mappings] the xsd has the form xs:schema xmlns=http://webservices.galileo.com;

Re: [axis2] Huge .java generated by wsdl2java

2008-10-21 Thread keith chapman
Try using -u and see whether it bets any better. Thanks, Keith. On Tue, Oct 21, 2008 at 4:01 PM, Bartolomeo Nicolotti [EMAIL PROTECTED]wrote: No, I don't use -u option, the command is: wsdl2java.sh -uri Galileo.wsdl -S JavaSource/XMLSelectClient -s -sd -ssi -sp -d xmlbeans -o .. -ns2p [...

Re: Clustering and passive replication

2008-10-21 Thread Igor Nogueira
Thanks Afkham! 2008/10/21 Afkham Azeez [EMAIL PROTECTED] Hi Igor, At the moment, a member can only be started in the ACTIVE state. I started work last week on making it possible to configure a member to be ACTIVE or PASSIVE in the cluster configuration section. Part of this work is already

Re: [axis2] Huge .java generated by wsdl2java

2008-10-21 Thread Bartolomeo Nicolotti
Hi, I've tried the -u option, with the command: wsdl2java.sh -uri XMLSelect_emea.wsdl -S JavaSource -R resources/XMLSelectClient -s -sd -u -ssi -sp -or -d xmlbeans -o ../.. but the result is the same, .java 12Mb and Impl.java 34Mb, I think because in the xsd there's only one named complexType.

Re: [axis2] Huge .java generated by wsdl2java

2008-10-21 Thread keith chapman
As an alternative to xmlbeans (which actually generates quite a lot of code) did you try using adb? Thanks, Keith. On Tue, Oct 21, 2008 at 4:37 PM, Bartolomeo Nicolotti [EMAIL PROTECTED]wrote: Hi, I've tried the -u option, with the command: wsdl2java.sh -uri XMLSelect_emea.wsdl -S

Re: [axis2] Huge .java generated by wsdl2java

2008-10-21 Thread Bartolomeo Nicolotti
Tried: wsdl2java.sh -uri XMLSelect_emea.wsdl -S JavaSource -R resources/XMLSelectClient -s -sd -u -ssi -sp -or -o ../.. Using AXIS2_HOME: /home/user/software/axis2-1.4.1 Using JAVA_HOME: /usr/lib/jvm/java-1.5.0-sun/ Retrieving document at 'XMLSelect_emea.wsdl'. Retrieving schema at

Re: [axis2] Huge .java generated by wsdl2java

2008-10-21 Thread Bartolomeo Nicolotti
tried also jaxme wsdl2java.sh -uri XMLSelect_emea.wsdl -S JavaSource -R resources/XMLSelectClient -s -sd -u -ssi -sp -or -d jaxme -o ../.. Using AXIS2_HOME: /home/user/software/axis2-1.4.1 Using JAVA_HOME: /usr/lib/jvm/java-1.5.0-sun/ Retrieving document at 'XMLSelect_emea.wsdl'.

Re: Custom WSDL file issue

2008-10-21 Thread keith chapman
I've answered this same question on a WSO2 forumhttp://wso2.org/forum/thread/4263#comment-7062here [1] Thanks, Keith. [1] http://wso2.org/forum/thread/4263#comment-7062 On Tue, Oct 21, 2008 at 9:20 AM, ERaj [EMAIL PROTECTED] wrote: I have added this too still the same issue - can anybody

Axis2 Timeout Configuration | Urgent

2008-10-21 Thread Appasamy Thirugnana
Hi all, I have written a WSclient using Axis2 and I forgot to set timeout using stub._getServiceClient().getOptions().setTimeOutInMilliSeconds Now I want timeout to be configured. If I change the following property in axis2.xml will the client class pick that one or Axis2.xml is only for

Re: How to validate out going SOAP with Axis2?

2008-10-21 Thread keith chapman
There is no such API method. Are you using Service Client or using a generated stub (as your client)? If you are using a stub the stub might so this validation for you. Thanks, Keith. On Tue, Oct 21, 2008 at 7:51 AM, Shao, Zhiren [EMAIL PROTECTED]wrote: Hi Martin, Thanks for your response.

Re: [axis2] Huge .java generated by wsdl2java

2008-10-21 Thread Bartolomeo Nicolotti
Eureka! With -d jaxbri it only takes one min to compile the 9.5Mb generated file (by the way the xsd is 2.5Mb). but the option -S JavaSourec doesn't seem to take effect with -d jaxbri, i'll use mv to move the files from src/... to JavaSource/... Many thanks, best regards! B.Nicolotti

Re: Axis2.1.4 MTOM w/ XmlBeans

2008-10-21 Thread Thilina Gunarathne
Hi, I see that Axis2.1.1 had documentation that supported MTOM with XmlBeans ( http://ws.apache.org/axis2/1_1/mtom-guide.html#252). Axis 2.1.4 no longers has this documentation. Is MTOM supported with 2.1.4 and XmlBeans? I am curious since it seems that schema containing binary data works

Re: Configuring Axis2 client to use Rampart

2008-10-21 Thread Bai Shen
On Fri, Oct 17, 2008 at 4:03 PM, Bai Shen [EMAIL PROTECTED] wrote: I set up my server with Rampart. So when I send a message from my Axis2 client, it gets rejected because there's no security header. So now I need to configure my client to use Rampart. I got the service client and told it

Different address location in WSDL generated by Axis2

2008-10-21 Thread Chinmoy Chakraborty
Hi All, Following is my service portion of the WSDL of service ABS generated by Axis2 1.4. wsdl:service name=ABS wsdl:port name=ABSHttpSoap11Endpoint binding=ns:ABSSoap11Binding soap:address location= http://192.168.1.54:8080/services/ABS.ABSHttpSoap11Endpoint/ /wsdl:port

Re: Different address location in WSDL generated by Axis2

2008-10-21 Thread keith chapman
Hi, Since Axis2 1.4 we have the concept of dispatching request to the endpoints not just to the service. The reason is that security scenarios could be configured on a endpoint level and hence we need to know the exact endpoint a request is headed to in order to apply the security scenario

Re: [axis2] Huge .java generated by wsdl2java

2008-10-21 Thread Bartolomeo Nicolotti
I've had to modify the client... Now it takes 2 min to create the client stub with the instruction: XmlSelectStub stub = new XmlSelectStub( gwsUrl ); Where xmlSelectStub is the stub generated by axis2 I will try with jixb... Best regards Il giorno mar, 21/10/2008 alle 15.02 +0200,

Versioning a service deployed on Axis2

2008-10-21 Thread Howell, David
Hi, Is there a recommended or commonly used approach to versioning a service (SOAP, doc/literal) that is to be deployed on Axis2? I'm trying to provide some means of not breaking consumers of an existing service if I have to deploy a new version that isn't backwards compatible. We're using

Re: Versioning a service deployed on Axis2

2008-10-21 Thread Deepal jayasinghe
Howell, David wrote: Hi, Is there a recommended or commonly used approach to versioning a service (SOAP, doc/literal) that is to be deployed on Axis2? I’m trying to provide some means of not breaking consumers of an existing service if I have to deploy a new version that isn’t backwards

JWS file in AXIS2

2008-10-21 Thread Virgilio
Could you tell me if AXIS2 support JWS extensión file?

Re: JWS file in AXIS2

2008-10-21 Thread Sanjiva Weerawarana
Virgilio wrote: Could you tell me if AXIS2 support JWS extensión file? No .. we never implemented it as there are now standard annotations for doing similar (and more) stuff. See JAX-WS support if you want an annotation programming model. JWS was pretty cool though - and if you really

Re: Versioning a service deployed on Axis2

2008-10-21 Thread Barry Alexander
Other than you're on your own advice, can you provide some guidelines or best practices regarding versioning? I thought this was an excellent question and currently of hot discussion with my co-workers. Some further questions: Should message version be embedded as part of SOAP headers

Generated client cannot read replies unless build() is called on envelope?

2008-10-21 Thread WALTON Jason
I've got an axis2 1.4 generated client, using ADB databinding. When I use the client, every request results in some bizzare ADBException about Unexpected subelement Here's the cool part. If I open up eclipse, and put a break point in the generated fromOM() method, and then in the debugger

Generated Java Files Are Too Large

2008-10-21 Thread Nan Null
Using Wsdl2Java, I have a bunch of Java files that are too large. ExtensionMapper.java: code too large CoreServiceMessageReceiverInOut.java:30212: code too large for try statement CoreServiceMessageReceiverInOut.java:17: code too large The WSDL file is very big. How do I get Axis to break down

RE: Versioning a service deployed on Axis2

2008-10-21 Thread Kraus, David
Wouldn't it be possible to create a new schema namespace for the next version of a webservice, and then manage the changes internally in one web service? So your first version of the web service might have a schema namespace of: wsdl:types s:schema elementFormDefault=qualified

Re: Generated Java Files Are Too Large

2008-10-21 Thread Eran Chinthaka
I don't think there is a way in Axis2 to break down your WSDL file. You will have to do it manually, I guess. On Tue, Oct 21, 2008 at 6:47 PM, Nan Null [EMAIL PROTECTED] wrote: Using Wsdl2Java, I have a bunch of Java files that are too large. ExtensionMapper.java: code too large

Hot update concerns

2008-10-21 Thread Chen, Jennifer
Hi, why is it not advisable to use hot update in a real-time system? What are the concerns? I found the following paragraph online. Thank you! Jennifer Hot update is the ability to make changes to an existing Web service without shutting down the system. This is an important feature and

[ANN] VTD-XML extended edition released

2008-10-21 Thread jimmy Zhang
The Java version of extended VTD-XmL is released and available for download. This version supports 256 GB max file sizes and memory mapped capabilities. The updated documentation is also available for download. In short, you can basically do full XPath query on documents that are bigger than

Re: Versioning a service deployed on Axis2

2008-10-21 Thread keith chapman
Hi Barry, I'd rather do it in this way. Deploy the two versions of the service as two separate services in Axis2. But would front Axis2 with a mediation engine, (you could use Apache Synapse or the WSO2 ESBhttp://wso2.org/projects/esb/java[1] which is built on Apache Synapse for this purpose).

Re: Generated Java Files Are Too Large

2008-10-21 Thread Nan Null
I didn't mean to break down the WSDL file. It is not written by me. My job is just to consume it. However, the generated code are too big for Java compiler to take (code is larger than spec allowed). Is there a way to break this generated code down? I know I can do that, but it would take a