[axis2] WSDL2C support for any type elements (InvocationTargetException)

2007-11-06 Thread Michal Kulczewski
Hi folks, did anyone run into problems with converting WSDL to C structures a document containing 'any' elements? I have the same problem submitted as a bug (https://issues.apache.org/jira/browse/AXIS2C-643). This bug is claimed to be resolved in the latest svn. So I've downloaded the latest

Re: Axis2C: WSDL2C not properly handling attributes

2007-11-06 Thread Michael Mole
Yes, I still see the problem when using Adder.wsdl. See below for an example serialize method. Also, how do I update woden.jar? I'm working with an axis2java snapshot from last week that I think has the most recent version of woden. Or, am I missing something? axiom_node_t* AXIS2_CALL

Re: Urgent: Specifying scope in Axis2c

2007-11-06 Thread Samisa Abeysinghe
Hi Subra, On Nov 6, 2007 10:57 PM, Subra A Narayanan [EMAIL PROTECTED] wrote: Hello Samisa, Do you have any updates on this issue? Do you have an approximate time frame when this issue would be fixed in the framework? Is this feature under development? I have looked into this and proposed a

[Axis2] How to enforce AxisFault message to MTOM encoded?

2007-11-06 Thread Rainer Menzner
Hi, Microsoft WSE3 requires that MTOM is to be used either not at all or for every message involved in a request (the reasoning behind this can questioned ...). So in order to work with WSE3 and MTOM, WSE3 expects all input-, output- and possible error message as MTOM encoded message.

Timeout issues

2007-11-06 Thread Charl Gerber
Hi, We're using Eclipse 3.3.0 to generate code from WSDL's. It uses Axis 1.4. The code seems to be generated fine and we can compile it execute the web services fine. However, when the web service is not available, it just hangs and doesn't timeout. We have a wrapper transaction in WebSphere

RE: port name and binding name overwriting

2007-11-06 Thread ROBINSON JULIEN
Here are a pair of WSDL files and an Ant file to generate the Java. Ant libraries (jar files) should be in a directory called axis_lib. My current version is Axis2 1.3 (downloaded 13/09/2007). Reminder: the issue is when port and binding have the same name, generated Java files are overwritten.

Re: Axis2 sample - pojoguide Unexpected EOF in prolog

2007-11-06 Thread Rick Isaacs
Hi Martin, Thank you for your suggestions. I still the get the same prolog error for the pojoguide sample I checked and tried various ideas along with your suggestions without a sample client working. I dont believe CHUNKED_ENCODING is enabled as a default?.. to verify please display contents

Axis2 and JAXB

2007-11-06 Thread Oliver Hirschi
Hi at all I try to use a JAXB implementation inside axis2, but I did not get it to run. There comes ever the Exception package doesnt contain ObjectFactory.class or jaxb.index, but there is a ObjectFactory.class file in the definied package. The same implementation works fine outside of axis2. I

RE: Timeout issues

2007-11-06 Thread Walker, Jeff
Charl, Why don't you call setTimeout() on the Stub reference that you use in the client code? E.g. ... ExampleAxisService_ServiceLocator locator = new ExampleAxisService_ServiceLocator(); ExampleAxisServiceSoapBindingStub myStub = (ExampleAxisServiceSoapBindingStub)locator.getExampleAxisService();

RE: Referring to Creating Web Services with Apache Axis -- 5/22/2002

2007-11-06 Thread Teresa Canales
When I installed Axis2, it didn't require for an separate install of Zerces. I just followed the directions per the Axis2 home page. I ran the Java2WSDL and WSDL2Java both did not require anything else being intalled. Why do I need Zerces?? Teresa -Original Message- From: [EMAIL

WSDL-document indirection in ServiceClient

2007-11-06 Thread Jeff Greif
WSDL4J provides the WSDLLocator interface to provide an extensible mechanism for providing WSDL content. This would be helpful for situations in which WSDL content must be provided from some unusual repository such as a database or custom dispatching or generating mechanism. However, when

Configuration to use my WSDL rather than AXIS generated WSDL

2007-11-06 Thread Ford, Jennifer M.
All: I am having some interoperability problems with a .NET client, and they've suggested that it's because of the changes that AXIS makes to my WSDL when the services are published. I'd like to make the services use the original WSDL, and it looks like there used to be a way to do that in the

RE: Please remove me from this list EOM

2007-11-06 Thread Raghu Upadhyayula
Kishore, Send a mail to [EMAIL PROTECTED] Thanks Raghu From: Kishore Reddy Vaddipalle [mailto:[EMAIL PROTECTED] Sent: Monday, November 05, 2007 8:28 PM To: axis-user@ws.apache.org Subject: Please remove me from this list EOM

Exception Handling

2007-11-06 Thread Hoda, Nadeem [USA]
I am looking at exceptions/faults, and I noticed that the fault handling sample returns a SOAP exception with attached data in addition to the code/error that is normally returned. Is there a way to return custom SOAP exceptions that can be caught at the client side as an Exception inherited

RE: Configuration to use my WSDL rather than AXIS generated WSDL

2007-11-06 Thread Ford, Jennifer M.
Thanks for your help! When I did that, I got the following when I clicked on the service link from the listServices page: - error descriptionUnable to generate WSDL 1.1 for this service/description reasonIf you wish Axis2 to automatically generate the WSDL 1.1, then please +set

Re: Configuration to use my WSDL rather than AXIS generated WSDL

2007-11-06 Thread robert lazarski
You need to put your WSDL file into the aar's META-INF directory. HTH, Robert On 11/6/07, Ford, Jennifer M. [EMAIL PROTECTED] wrote: Thanks for your help! When I did that, I got the following when I clicked on the service link from the listServices page: - error descriptionUnable to

Re: Configuration to use my WSDL rather than AXIS generated WSDL

2007-11-06 Thread Shrish Mishra
Try this: In .aar file keep your generated wsdl inside META-INF directory. Axis engine picks wsdl from there and if it does not find one it generates one. -- Regards, -Shrish Mishra On 11/6/07, Ford, Jennifer M. [EMAIL PROTECTED] wrote: Thanks for your help! When I did that, I got the

Re: [Axis2] How to enforce AxisFault message to MTOM encoded?

2007-11-06 Thread Thilina Gunarathne
Hi, Thilina recently helped me out on how to enforce the output encoding to be MTOM if input is also MTOM, using this kind of code: This is little bit more easy with the 1.3 release.. You can change the enableMTOM parameter as follows to get the behaviour you wanted.. parameter

[newbie] server-application for soap-messages?

2007-11-06 Thread Thomas Barth
Hi, I want to create a socket server to be able to get soap-messages from connected clients. The client should get a response as soap-messag too. The SocketServer reads data as follows public void run() { try { InputStream inputStream = socket.getInputStream();

org.apache.axis2.deployment.DeploymentException: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix wsp

2007-11-06 Thread Rajesh, Peter (CLAIMS, WIP)
When I deploy the webservice .aar file in Weblogic 8.1 application server below error is displayed in the console. JDK is 1.4.2_08. Please let me know how to resolve this issue. org.apache.axis2.deployment.DeploymentException: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix

Re: Soap Request Date Format

2007-11-06 Thread Anthony Bull
Why don't you just take the date from the soap message, format it with SimpleDateFormat into the form you want and then use it? You need to keep in mind that having a standard date format in your service means third parties can easily connect to it without having to run date formatting code

Re: org.apache.axis2.deployment.DeploymentException: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix wsp

2007-11-06 Thread Ruchith Fernando
Hi, Please send your services.xml file used in the service archive. Seems like the you are missing the declaration of the policy namespace with prefix wsp . Thanks, Ruchith p.s. Please try not to cross post to all three axis-user, axis-dev and rampart-dev lists. Rajesh, Peter (CLAIMS, WIP)

Soap Request Date Format

2007-11-06 Thread Nguyen Le
Hi, I was wondering if the date format for SOAP request generated by axis are hardcoded. In my SOAP request I have the following format 2007-11-21T18:00: 55.437Z But I need it to be the following 2007-11-21T18:00: I have tried modifying the SimpleDateFormat but to no avail. I have tried to do

RE: ExceptionInInitializerError when trying to create a new ServiceClient

2007-11-06 Thread Iyengar, Kumar
Thanks for the help. It turns out I did not have wstx-asl-3.2.1.jar in my classpath. --kumar From: Anthony Bull [mailto:[EMAIL PROTECTED] Sent: Monday, November 05, 2007 12:07 PM To: axis-user@ws.apache.org Subject: Re: ExceptionInInitializerError when

Re: Axis2 sample - pojoguide Unexpected EOF in prolog

2007-11-06 Thread mgainty
Hi Rick- if you display the wsdl I'll try WSDL2Java to produce the service which I will then upload the aar/activate the service then write a client to extract at least 1 parameter.. Thanks/ Martin- - Original Message - Wrom: OWCONEUQZAAFXI To: axis-user@ws.apache.org Sent:

RE: Problem with client side exceptions

2007-11-06 Thread Shrish Mishra
I also have the same problem. I could not get back the original exception at client side. I tried using sample/faulthandling code with the axis2 distribution and it works fine. But now the problem is, this example generates client side and server side code from the wsdl ... but the source code

RE: [Axis2] 1.3 wsdl2java generates code with missing methods

2007-11-06 Thread Pantvaidya, Vishwajit
- I downloaded the latest nightly Axis2 1.3 build (dated 06-Nov-2007) - included the relevant axis2 jars into my lib space (which has other non-axis jars that I need) - then running wsdl2java using my ant task gave following error: o[java] Error on line -1 o

[Axis2] SOAP with HTTPS

2007-11-06 Thread Srikanth Muthyala
Hi, Part of project I am working on is to transmit some information using soap to the service running elsewhere. My app will be a client to this service. Currently its working fine using http. Next task is to do the same over https. We will be provided with customer's digital certificates. I

Re: [Axis2] SOAP with HTTPS

2007-11-06 Thread Deepal Jayasinghe
ServiceClient client = new ServiceClient(); Options opts = new Options(); opts.setAction(urn:divide); client.setOptions(opts); System.setProperty(javax.net.ssl.keyStoreType, JKS); // key store password