Re: WSDL2Java C code generation

2007-07-20 Thread Michael Mole
Thanks Milinda, So you're saying that I should set AXIS2_HOME to point to point to my Axis2/C home directory instead of my Axis2/Java? Also do you have a WSDL2C.bat for Windows? Thanks again, Mike Michael J Molé Software Engineer IBM Software Group - Rational (781)676-2710 Milinda

Re: Unmarshalling XML documents to Java Objects

2007-07-20 Thread Shadab
Anne you are absolutely right in understanding my problem... Anne Thomas Manes wrote: I believe Enric is referring to Axis2. Please note that Shadab's question was in respect to Axis 1.4. When using Axis 1.4, you can bypass the built-in Axis serialization framework by using the Message

Generated C-Code from WSDL2C

2007-07-20 Thread Mustafa Cavus
Hello, I have generated C-code from a wsdl-file, but I have a lot of files and methods. I'm looking for an API or something like that, which explain the function of the methods. Can you help me? Thanks m. cavus

WS invocation problem

2007-07-20 Thread Ecker Severin
Hi, I have the following setup: Tomcat 5.5, axis2 (versions 1.1.1, 1.2 and snapshot), java 1.6.0_02 (which was used for the WS I've written and is used to run tomcat) The webservice exposes a method with a parameter (MethodRequest). Now I'm facing the following problem: The request is as simple

Re: returned object constructor issue

2007-07-20 Thread albert quinn
Hi Deepal!! : Many thanks for your time and help. I didn't know the default constructor was required in a Java Bean, but I know it now and I won't forget it :). Thanks again. 2007/7/19, Deepal Jayasinghe [EMAIL PROTECTED]: Hi albert , For a Java bean it is required to have the default

RE: code generated by wsdl2java

2007-07-20 Thread Desmond Whewell (CV/ETL)
Jeff, The only files that I store are: 1. The ant files that control the generation from the WSDL 2. The receiver and skeleton files that replace the boiler plate versions generated by Axis2. All others are derived at build time. Cheers, Des From: Jeff

Support for JMX?

2007-07-20 Thread Desmond Whewell (CV/ETL)
Tomcat 5.5 provides rich support for control of the server through JMX. Are there any plans for Axis2 to provide similar mechanisms? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[Axis2] Getting the soap style

2007-07-20 Thread Angel Todorov
hi guys, How can one obtain the exact SOAP style from a MessageContext instance? I am currently doing this: mc.getAxisOperation().getStyle() ; but it returns either rpc , msg , or doc, as it can be seen from the code. What about the additional literal / lit wrapped , etc? Thanks. Regards,

Re: [Axis2] Getting the soap style

2007-07-20 Thread Gabriela Gheorghe
Hi, It is the getUse() method. All the best! On 7/20/07, Angel Todorov [EMAIL PROTECTED] wrote: hi guys, How can one obtain the exact SOAP style from a MessageContext instance? I am currently doing this: mc.getAxisOperation().getStyle() ; but it returns either rpc , msg , or doc, as it

Re: [Axis2] Getting the soap style

2007-07-20 Thread Angel Todorov
Hi Gabriela, But getUse() is only defined in the class SOAPHeaderMessage, as far as I can see - what if my message doesn't contain a SOAP Header? Thanks very much in advance. Regards, Angel On 7/20/07, Gabriela Gheorghe [EMAIL PROTECTED] wrote: Hi, It is the getUse() method. All the best!

Re: [Axis2] Getting the soap style

2007-07-20 Thread Angel Todorov
Hi, (the following is inside a custom message receiver): List headers = inMessageContext.getAxisMessage().getSoapHeaders(); The list is empty. This is the SOAP Request: SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;

Re: [Axis2] Getting the soap style

2007-07-20 Thread Angel Todorov
Hi, Well that's what I am saying - i don't want to have a SOAP header (it's not mandatory) , but I still want to retrieve the SOAP Style , as well as the use -:) I think Axis2 should provide this, and not assume that the SOAP request contains header(s). Thanks. Regards, Angel On 7/20/07,

Re: Unmarshalling XML documents to Java Objects

2007-07-20 Thread Shadab
Hi Anne, I have to develop a client that gets the data in the form of XML. This XML is actually generated by some other party and they seemed to have done it like this: -generated Java classes from xsd using JAXB's xjc -populated the objects of these Java classes with values -Then

Re: [Axis2] Getting the soap style

2007-07-20 Thread p . casenove
Hi, The list is empty because there is no header in your SOAP message. There should be a SOAP-ENV:header tag in your request. pierre Angel Todorov [EMAIL PROTECTED] 20/07/2007 13:01 Veuillez répondre à axis-user@ws.apache.org A axis-user@ws.apache.org cc Objet Re: [Axis2] Getting the soap

Axis fault handling in SAP XI client

2007-07-20 Thread jaypee_p
Hi All, I am using axis 1.4. SAP XI is my clinet. My wsdl file as below ?xml version=1.0 encoding=UTF-8? wsdl:definitions targetNamespace=http://ws.example.com/service; xmlns:wns=http://ws.example.com/service; xmlns:tns=http://ws.exampleenterprise.com;

Re: code generated by wsdl2java

2007-07-20 Thread Alejandro Calbazana
I'm not a fan of storing generated code under source control. I don't store anything under source control but the WSDL and my implementation source files. I let the build generate my skeleton each time and I always generate an interface. I have a custom implementation for my service living

RE: code generated by wsdl2java

2007-07-20 Thread Desmond Whewell (CV/ETL)
Thanks for the heads-up. I'd never heard of xmltask, but is sounds very useful. -Original Message- From: Alejandro Calbazana [mailto:[EMAIL PROTECTED] Sent: 20 July 2007 12:34 To: axis-user@ws.apache.org Subject: Re: code generated by wsdl2java I'm not a fan of storing generated code

how to desactive wsdl generation

2007-07-20 Thread Frederic MOLINIERES
Hil list, How to desactive wsdl generation by get on soap action and ?wsdl parameter ? Thanks Frédéric CONFIDENTIALITÉ Les informations contenues dans ce document sont de nature confidentielle et à l'usage exclusif des destinataires prévus. Si vous l'avez reçu par erreur, son utilisation

[ANN][Axis2] Axis2 1.3-RC2 release

2007-07-20 Thread Deepal Jayasinghe
Hi all, I have upload Axis2 1.3 RC2 artifact into my apache home location [1] , please test and make sure all the JIRAs we marked as fixed are there in the release , in addition to that if you find any issues with the release please create a JIRA [2] , then we can fix that for next RC. This

Re: [ANN][Axis2] Axis2 1.3-RC2 release

2007-07-20 Thread Michele Mazzucco
Deepal, from the wiki I see that the async msg. receiver spawns a new thread if the DO_ASYNC property is set. Isn't it possible to use NIO (if my memory is right Synapse already uses it and there were plans to port it to Axis2 as well)? Thanks, Michele On Fri, 2007-07-20 at 18:04 +0530,

Re: [ANN][Axis2] Axis2 1.3-RC2 release

2007-07-20 Thread Deepal Jayasinghe
Hi Michele , Please create a JIRA then let's see what the community think about that . If everyone is ok then lets do that changes. FYI: We have already integrated NIO stuff in to Axis2 Thanks Deepal Deepal, from the wiki I see that the async msg. receiver spawns a new thread if the

Re: Multiple network interface

2007-07-20 Thread Davanum Srinivas
Deepal, IMHO, I think we need to do this for support production servers! in 1.3 itself. thanks, dims On 7/19/07, Deepal Jayasinghe [EMAIL PROTECTED] wrote: Hi Ali, We still do not have a way to do that , please create a JIRA so that we will fix that for next release. Thanks Deepal Hi, In

Re: Unexpected subelement error using useOriginalWsdl in Axis2: Solution

2007-07-20 Thread Jose Luis Alba
HI all, I've found a solution. When one uses useOriginalWsdl the package to namespace mappings are read from the services.xml file (see ServiceBuilder.java method processTypeMappings). The problem is when classes are out of the target namespace. All we have to do is to write the mappings in

Re: [ANN][Axis2] Axis2 1.3-RC2 release

2007-07-20 Thread Michele Mazzucco
Done. https://issues.apache.org/jira/browse/AXIS2-2993 Michele On Fri, 2007-07-20 at 18:33 +0530, Deepal Jayasinghe wrote: Hi Michele , Please create a JIRA then let's see what the community think about that . If everyone is ok then lets do that changes. FYI: We have already integrated NIO

Too many open files

2007-07-20 Thread Michele Mazzucco
Hi all, I'm still using Axis2 1.1.1 (I know, it's my fault :(). Anyway, even if I set the connectionTimeout of the tomcat connector to 500 ms (server.xml) when the arrival rate increases (about 30 req/sec.) the system is not able to cope with the user demand (linux with default settings, i.e.

Re: Support for JMX?

2007-07-20 Thread Davanum Srinivas
Need warm bodies :) Would you be able to help implement this? thanks, dims On 7/20/07, Desmond Whewell (CV/ETL) [EMAIL PROTECTED] wrote: Tomcat 5.5 provides rich support for control of the server through JMX. Are there any plans for Axis2 to provide similar mechanisms?

Re: Support for JMX?

2007-07-20 Thread Davanum Srinivas
For those who are interested, there is some code written a long time back. But needs a rewrite from scratch. http://svn.apache.org/repos/asf/webservices/axis2/archive/java/scratch/jmx-front/ -- dims On 7/20/07, Davanum Srinivas [EMAIL PROTECTED] wrote: Need warm bodies :) Would you be able to

Need C# Web Services Consumption example.

2007-07-20 Thread Srinivasa Rao K
Hi, I am looking for a C#, Visual Studio 2005, Web Services Consumption example. The Web Service Provider is Axis. I appreciate your help. thanks, Srini - Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo!

Re: Need C# Web Services Consumption example.

2007-07-20 Thread Darren Clarke
Hi Srini I don¹t have an example I can give you, but I¹m in the middle of doing the same. Once your service is up and running, go to your project in MSVS.NET and add a new Web Reference. In the New Web Reference dialog, enter the URL to the WSDL and click Go. The dialog will then show you a

.apache.axis2.AxisFault: org.apache.xmlbeans.impl.values.XmlComplexContentImpl cannot be cast

2007-07-20 Thread Steve Kruse
I'm trying to get a service that works in axis 1.4 to work in axis 2. I use xmlbeans to bind and the first issue I had when converting to axis2 was that I got an error during the building of the beans because the schema imports the same xsd's throughout the hierarchy. The wsdl and schema

Re: Too many open files

2007-07-20 Thread Davanum Srinivas
Michele, My 2 cents, update to RC2, Any issues, we will try to fix by Final. How does that sound? thanks, dims On 7/20/07, Michele Mazzucco [EMAIL PROTECTED] wrote: Hi all, I'm still using Axis2 1.1.1 (I know, it's my fault :(). Anyway, even if I set the connectionTimeout of the tomcat

Re: Unmarshalling XML documents to Java Objects

2007-07-20 Thread Anne Thomas Manes
I recommend that you use an XML databinding framework, such as JAXB, Castor XML, or XMLBeans. Alternatively, if you don't need to manipulate the incoming XML, you could use the Axis message style or the SAAJ API and simply map the data directly from the incoming XML (using JAXP) to your SOAP

Re: Axis fault handling in SAP XI client

2007-07-20 Thread Anne Thomas Manes
My guess is that this is the way XI processes custom faults. I suggest you ask your question on an SAP XI discussion list. Anne On 7/20/07, jaypee_p [EMAIL PROTECTED] wrote: Hi All, I am using axis 1.4. SAP XI is my clinet. My wsdl file as below ?xml version=1.0 encoding=UTF-8?

Re: rpc-encoded vs rpc-literal vs document-literal migrate Axis1.4 wsdl (rpc-encoded) to Axis2 doc-lit

2007-07-20 Thread Anne Thomas Manes
David, I just Googled looking for an automated converter utility, but no luck. I think you'll have to do the conversions by hand. As a general rule, I strongly recommend that you convert your WSDL to wrapped document/literal. Here are the basic rules: 1 - Convert your input and output

Re: [ANN][Axis2] Axis2 1.3-RC2 release

2007-07-20 Thread Michele Mazzucco
Deepal, when shall I use AxisCallback.onMessage() instead of AxisCallback.onMessage(MessageContext msgContext)? Thanks, Michele On Fri, 2007-07-20 at 18:04 +0530, Deepal Jayasinghe wrote: Hi all, I have upload Axis2 1.3 RC2 artifact into my apache home location [1] , please test and make

Re: issues moving to axis2 from axis 1.4

2007-07-20 Thread Davanum Srinivas
looks ok to me. Please try 1.2 RC2 and log a bug report if you still see this issue. With details on your soap messages and code. thanks, dims On 7/20/07, Steve Kruse [EMAIL PROTECTED] wrote: Can someone tell me if they see any issues with the wsdl below. I'm using it for axis 1.4 and it

switch from Callback/AxisCallback (with problems)

2007-07-20 Thread Michele Mazzucco
Hi all, it looks to me that the callback API has changed a lot :(. How can I manage the scenario when the same callback is used to receive several responses?, how do I know when all messages have been received? Furthermore, even if I don't want to switch from Callback to AxisCallback, the

Re: [ANN][Axis2] Axis2 1.3-RC2 release

2007-07-20 Thread Davanum Srinivas
Add a repo that points to http://people.apache.org/~deepal/axis2/1.3-RC2/m2-repo/ and use groupIdorg.apache.axis2/groupId version1.3-RC2/version Thanks, dims On 7/20/07, Gertjan van Oosten [EMAIL PROTECTED] wrote: As quoted from Deepal Jayasinghe [EMAIL PROTECTED]: I have upload Axis2 1.3

Re: .apache.axis2.AxisFault: org.apache.xmlbeans.impl.values.XmlComplexContentImpl cannot be cast

2007-07-20 Thread robert lazarski
I recommend the following: 1) Post the code where the cast occurs, and the wsdl and any schemas you may have. 2) Use the RC2 that just came out today - in the downloads section of the axis2 site. It may not have any fixes for your test case since the last snapshot you are using, but we are

RE: .apache.axis2.AxisFault: org.apache.xmlbeans.impl.values.XmlComplexContentImpl cannot be cast

2007-07-20 Thread Steve Kruse
The line of the code it is happening on is the following: peoiws5.mdiapps.soap.HandleTrackInfoLiteEventDocument wrappedParam = (peoiws5.mdiapps.soap.HandleTrackInfoLiteEventDocument)fromOM( msgContext.getEnvelope().getBody().getFirstElement(),

Re: .apache.axis2.AxisFault: org.apache.xmlbeans.impl.values.XmlComplexContentImpl cannot be cast

2007-07-20 Thread robert lazarski
Could you please place that in the jira you created? It may help. Robert On 7/20/07, Steve Kruse [EMAIL PROTECTED] wrote: The line of the code it is happening on is the following: peoiws5.mdiapps.soap.HandleTrackInfoLiteEventDocument wrappedParam =

[axis2] Re: switch from Callback/AxisCallback (with problems)

2007-07-20 Thread Glen Daniels
Hi Michele: Michele Mazzucco wrote: it looks to me that the callback API has changed a lot :(. Yes, based on a couple of mailing list threads a while back. The new interface is intended to be cleaner, richer, and more flexible. How can I manage the scenario when the same callback is

Re: Need C# Web Services Consumption example

2007-07-20 Thread Srinivasa Rao K
Thanks Darren, I wrote a Consol Application and compiled well. But, I am trying to access HTTPS service so there is some SSL exception, any idea how to add certificate for the Console Application? For java client I was using jks file. Do we need to create a new certificate for .Net/C#

array primitive versus List type

2007-07-20 Thread David Robertson
Is there a way to have Axis2 generate, for example, an ArrayList rather than an array primitive for a sequence? Thanks, -David Robertson -Berkeley Lab - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Need C# Web Services Consumption example.

2007-07-20 Thread Martin Gainty
Re: Need C# Web Services Consumption example.ok You have a service therefore you have pub'ed your WSDL so the namespaces came from the original WSDL Doc e.g. [WebMethod] public bool SomeMethod(string xml) { try { //start try... XmlDocument doc = new XmlDocument();

How to create certificate .cer file?

2007-07-20 Thread Srinivasa Rao K
Hi, Can we create .cer file from jks file.? I have trust/key jks files with me. How can I create the cer file to connect to https web services from C# client? Thanks, Srini - Looking for a deal? Find great prices on flights and hotels with

Re: issues moving to axis2 from axis 1.4

2007-07-20 Thread Anne Thomas Manes
There are definitely problems with the WSDL. First, you are using wsdl:import to import .xsd files: wsdl:import namespace=urn:trackinfo.lite.soap.mdiapps.peoiws5 location=./xsd/lite/lite-track-info.xsd/ wsdl:import namespace=urn:exception.soap.mdiapps.peoiws5

Axis1 1.2 for Java creates elements in runtime wsdl that create probs with .NET wsdl2java

2007-07-20 Thread Pantvaidya, Vishwajit
I am using axis1 1.2 java on server side with .NET on client side. I added some new elements to my server WSDL. After I deploy the service based on the new wsdl, the runtime service wsdl at http://localhost:8080/services/MyServiceSoap?wsdl shows the following types with an empty extensibility

Re: rpc-encoded vs rpc-literal vs document-literal migrate Axis1.4 wsdl (rpc-encoded) to Axis2 doc-lit

2007-07-20 Thread david
Hello Ann, thanks for the speedy reply. I see you working another user who is also trying to migrate an Axis1.4 WS to Axis2. I have an Axis1.4 WS that is running OK as hinted at in my previous communication to the ML. I hand-converted the .wsdl with great tedium as you predicted.

RE: rpc-encoded vs rpc-literal vs document-literal migrate Axis1.4 wsdl (rpc-encoded) to Axis2 doc-lit

2007-07-20 Thread Ebert, Chris
Two things: 1) You've mixed single and double quotes around the name of your first type. 2) The type definitions should go inside the schema /schema tags. Chris -Original Message- From: david [mailto:[EMAIL PROTECTED] Sent: Friday, July 20, 2007 15:54 To: axis-user@ws.apache.org

Re: Multiple network interface

2007-07-20 Thread Davanum Srinivas
Ali, Looks like you can edit axis2.xml and specify the hostname setting. this will be picked up . Please try with 1.3 RC2 posted yesterday. thanks, dims On 7/20/07, Davanum Srinivas [EMAIL PROTECTED] wrote: Deepal, IMHO, I think we need to do this for support production servers! in 1.3