WSDL2C Code generation tool ( C Implementation ) - questions

2006-10-17 Thread Dave Meier
1. Does this new tool currently only build on Linux or can I build it on Windows? 2. Does it generate the data structures in C? I'm using the java WSDL2Code and it generates my input/output data structures all in java when I use the "-d adb" option. 3. Is there remaining work to be done on

WSDL2C REST question

2006-10-17 Thread Dave Meier
To use REST with Axis2C, do I need to define my inputs and outputs as generic XML nodes or can I use specifically defined structures for these? I want to provide both a SOAP based interface and some REST based CRUD operations and hopefully share the same code where there is overlap.

Re: [Axis2] WSDL2C Code generation tool ( C Implementation ) - questions

2006-10-17 Thread Samisa Abeysinghe
Dave Meier wrote: 1. Does this new tool currently only build on Linux or can I build it on Windows? I have not tested on Windows, but I know that it runs on Linux. 2. Does it generate the data structures in C? I'm using the java WSDL2Code and it generates my input/output data structures

Re: WSDL2C REST question

2006-10-17 Thread Samisa Abeysinghe
Dave Meier wrote: To use REST with Axis2C, do I need to define my inputs and outputs as generic XML nodes or can I use specifically defined structures for these? You have to work at XML level; it is an XML-in/XML-out model that we support. There are no predefined structures for doing REST. I

Re: WSDL2C Code generation tool ( C Implementation ) - questions

2006-10-17 Thread Dimuthu Chathuranga
Hi Dave,On 10/18/06, Dave Meier [EMAIL PROTECTED] wrote: 1. Does this new tool currently only build on Linux or can I build it on Windows?This compiles and works only on linux, There are no Makefiles available to build it on windows. 2. Does it generate the data structures in C?There are

Re: Rampart module load throws NoSuchMethodError

2006-10-17 Thread Ruchith Fernando
Are you trying the Rampart-1.1-SNAPSHOT? http://people.apache.org/repository/org.apache.axis2/mars/rampart-1.1-SNAPSHOT.mar thanks, Ruchith On 10/13/06, Yadav, Yogendra (IT) [EMAIL PROTECTED] wrote: I am testing Rampart with AXIS2 RC1. The module load throws NSME

Web service deploy error

2006-10-17 Thread OUYANG Yang
Hi Thilina: I am using the Axis2 1.1-RC1 edition now. but I meet a problem when I try to deploy a simple web service in it. The services.xml file is like: service name=hello2 description This service is to say hello to users.hello~~ ouyang yang2 /description

Web service deploy error

2006-10-17 Thread OUYANG Yang
Title: Web service deploy error Hi all: I am using the Axis2 1.1-RC1 edition now. but I meet a problem when I try to deploy a simple web service in it. The services.xml file is like: service name=hello2 description This service is to say hello to users.hello~~ ouyang yang2

Re: Web service deploy error

2006-10-17 Thread Manuel Ernstberger
Hi, the wsdl is only shown if you use the RPCMessageReceiver. For the RawXMLINOutMessageReceiver it doesn't work. Regards, Manuel Original-Nachricht Datum: Tue, 17 Oct 2006 14:14:19 +0800 Von: OUYANG Yang [EMAIL PROTECTED] An: axis-user@ws.apache.org, [EMAIL PROTECTED]

Axis 1.4, style=message

2006-10-17 Thread Charles Souillard
Hi all, I am using axis 1.4. I want to deploy a new WS using message style. To do that, I execute wsdl2java tool with the following options : -s -a -B -H Then I replace the implementation file by one compliant with message style : public Element[] validationRequest (Element[] bodies) throws

RE: Compilation error with WSDL2Java and XmlBeans

2006-10-17 Thread Brennan Spies
Jerome, You should file a JIRA for this and include your files. -Original Message- From: Jerome Magnet [mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2006 6:39 PM To: axis-user@ws.apache.org Subject: RE: Compilation error with WSDL2Java and XmlBeans That's the nightly package I

RE: Axis2 and Seam

2006-10-17 Thread Brian Dillon (ext. 944)
Hi Chinthaka, I took down the Axis war file from the nightly build of the 16th but unfortunately this still gives an error. It is however a different error (I have copied it bellow); ERROR 17-10 10:55:30,531 (StandardContext.java:loadOnStartup:3882) -Servlet /re fappsoap threw load() exception

wrapped style with Axis2

2006-10-17 Thread Manuel Ernstberger
Hello, does anybody know when Axis2 will support the doc/lit/wrapped style? Regards, Manuel Ernstberger -- GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist! NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl

Help need : Socket Exception when running AdminClient

2006-10-17 Thread Srinivas Nannapaneni
Hi , When Im running the adminclient of axis Im getting the SOCKET EXCEPTION please suggest 45437 [main] DEBUG org.apache.axis.utils.NSStack - NSPop (empty) AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString:

Re: MTOM issues.Urgent

2006-10-17 Thread Thilina Gunarathne
Hi, Ohh...That log is huge :).. Anyway it does not seem to give any valuable info... Are you using the latest nightlies... If not just check whether you have Rest enabled in the server... If so try disabling it.. I'll try to run your service and client... ~Thilina On 10/17/06, [EMAIL

Re: [Axis] Modified some things and I'm not sure if I broke Axis

2006-10-17 Thread Marco Schimmelpfennig
Marco Schimmelpfennig wrote: [My Problem] Hi again, so please just tell me, are my question or problem to dumb, or couldn't you understand it? What can I do to make it easier to help? I just debugged a bit and noticed that something with the generated SOAP seems to be wrong, but I can't get

SOAPFault parsing

2006-10-17 Thread Punnoose, Roshan
Hi, I am returning a SOAPFault from my server and my client has a Callback to retrieve everything from the server. In the onError(...) method, I get an AxisFault, however, I only have visibility into the SOAPFaultCode and not the Reason or the Detail. Is there something I have to do to get

Re: Axis2 and Seam

2006-10-17 Thread robert lazarski
If you have wstx-asl-3.0.1.jar from the std-bin nightly distro in your classpath, it will use those classes. HTH, Robert On 10/17/06, Brian Dillon (ext. 944) [EMAIL PROTECTED] wrote: Hi Chinthaka, I took down the Axis war file from the nightly build of the 16th but unfortunately this still

Re: Compilation error with WSDL2Java and XmlBeans

2006-10-17 Thread robert lazarski
This looks like WSDL 2.0 , though I'm not sure since I've never used it. Looking at the structure it seems to be. I don't see the style definition for example. Furthermore, you are getting warnings using eclipses WTP validation, the second seeming more important: 1 WS-I: (BP2803) The

Re: Compilation error with WSDL2Java and XmlBeans

2006-10-17 Thread robert lazarski
I meant to include that if its wsdl 2.0 , its not supported yet: http://ws.apache.org/axis2/faq.html#g1 On 10/17/06, robert lazarski [EMAIL PROTECTED] wrote: This looks like WSDL 2.0 , though I'm not sure since I've never used it. Looking at the structure it seems to be. I don't see the style

Re: Web service deploy error

2006-10-17 Thread robert lazarski
Are you also using the 1.1 snapshot war ? Robert On 10/17/06, OUYANG Yang [EMAIL PROTECTED] wrote: Hi all: I am using the Axis2 1.1-RC1 edition now. but I meet a problem when I try to deploy a simple web service in it. The services.xml file is like: service name=hello2

RE: Adding Custom data binding to AXIS2

2006-10-17 Thread Yadav, Yogendra \(IT\)
Hi Sanjiva, Any thoughts on this ? -yogen -Original Message- From: Yadav, Yogendra (IT) Sent: Tuesday, October 03, 2006 12:50 PM To: axis-user@ws.apache.org Subject: RE: Adding Custom data binding to AXIS2 Different XML serialization. The serialization we have developed is language

need help with axis: I need upper cased attributes and have no clue how to get this

2006-10-17 Thread Martin Fernau
Hello! I'm new to axis and SOAP in general. I've basic understanding how to write web services with java and how to deploy the service with a deployment-descriptor file. I also know how to use objects as parameters within SOAP (BeanSerializer). My problem is, that I have to implement a web

RE: dispatchers types in AXIS2

2006-10-17 Thread Yadav, Yogendra \(IT\)
Anyone has tried dispatcher type classes defined in AXIS2 ? These classes are configured in axis2.xml as well. My question is when do I use which dispatcher type ? -Original Message- From: Yadav, Yogendra (IT) Sent: Thursday, October 12, 2006 12:44 PM To: axis-user@ws.apache.org; [EMAIL

WSDL2Java Error

2006-10-17 Thread Stevens, Paul A
Title: WSDL2Java Error We are getting the following error trying to convert a wsdl to java: D:\ehro\wsdl_testWSDL2Java -uri eTrust spml-wsdl.wsdl -o test Using AXIS2_HOME: D:\axis2 Using JAVA_HOME: D:\j2sdk1.4.2_08 log4j:WARN No appenders could be found for logger

question on Message Receivers in axis2

2006-10-17 Thread Yadav, Yogendra \(IT\)
Hi, How does AXIS2 uses Message Receiver classes. I am sunning SimpleHTTPServer and I have these receivers in axis2.xml messageReceivers messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only" class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/ messageReceiver

RE: Compilation error with WSDL2Java and XmlBeans

2006-10-17 Thread Spies, Brennan
It's not WSDL 2.0, or there would be no portType, but rather an interface definition. The wsdl:binding section here does deviate from the standard boilerplate for a sync operation SOAP over HTTP (not using soap:operation and specifying soap:header info, having multiple operations per

Re: wrapped style with Axis2

2006-10-17 Thread Davanum Srinivas
Axis2 supports both RPC/LIT and DOC/LIT right now. -- dims On 10/17/06, Manuel Ernstberger [EMAIL PROTECTED] wrote: Hello, does anybody know when Axis2 will support the doc/lit/wrapped style? Regards, Manuel Ernstberger -- GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist! NEU:

RE: Compilation error with WSDL2Java and XmlBeans

2006-10-17 Thread Jerome Magnet
Yes. It is definitely WSDL 1.1. Refer to the two nms in all the wsdl;definitions of my wsdl files are based on WSDL 1.1 nms: xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; and xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; We have a lot of tools already making use of these WSDL files. XMLspy is

Re: Compilation error with WSDL2Java and XmlBeans

2006-10-17 Thread robert lazarski
As Brennan states, it is somewhat of an unusual case and Axis2 doesn't seem to be handling it - you should just be able to run wsdl2java on the wsdl and have it do the right thing. Please create a jira and afterwards do an update with _all_ of the wsdl's and xsd's .

Re: wrapped style with Axis2

2006-10-17 Thread Alex Hollerith
i ran into troubles with DOC/LIT wrapped with axis2 1.0 because of a .net client who didn't send the soap:Header element. soap:Header is optional but i have the feeling that axis2 1.0 insits on getting a soap:Header under certain circumstances. we had to switch back to SOAP 1.1 (with a SoapAction

RE: Compilation error with WSDL2Java and XmlBeans

2006-10-17 Thread Spies, Brennan
Jerome, I am using the more boilerplate version of wsdl:binding, like so... wsdl:binding soap:binding style=document transport=http://schemas.xmlsoap.org/soap/http; / wsdl:operation name=... soap:operation soapAction=.../ wsdl:input

Re: question on Message Receivers in axis2

2006-10-17 Thread Ajith Ranabahu
Hi, If there are no message receivers supplied Axis2 provides the default. These are the classes specified in the axis2.xml. However the services usually specify the message receivers (have a look at a services.xml) and hence there will be no confusion as long as all message receivers are

Determining when streaming is complete

2006-10-17 Thread Jernigan, TieSha
I am streaming data to a file on the file system. Does Axis provide a way to determine when streaming is complete so that I can delete the file at this point? Thanks TieSha Jernigan

RE: WSDL2Java Error

2006-10-17 Thread Gul Onural
Title: WSDL2Java Error By the way, there is a good article under http://devresource.hp.com/drc/slide_presentations/schemaWSDL/index.jsp about usage ofwsdl:import and xsd:import (exactly saying what Brennan said, and more...) Gul From: Spies, Brennan [mailto:[EMAIL PROTECTED] Sent: Tuesday,

UsernameToken and passwordCallbackClass

2006-10-17 Thread Marcel Casado
Hi, Is there a way to pass parameters like database configuration to passwordCallbackClass on the services.xml to retrieve the password from a database ? Thanks, -Marcel - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: wrapped style with Axis2

2006-10-17 Thread Ajith Ranabahu
Hi, I guess what you meant is that if you do not include an empty soap header Axis2 1.0 fails ? Would it be possible to test this against the Axis2 1.1 RC1 ? Ajith On 10/17/06, Alex Hollerith [EMAIL PROTECTED] wrote: i ran into troubles with DOC/LIT wrapped with axis2 1.0 because of a .net

Re: Axis2 and Seam

2006-10-17 Thread Ajith Ranabahu
Hi, Do you have the stax jars from the reference implementation in the classpath ? On 10/17/06, robert lazarski [EMAIL PROTECTED] wrote: If you have wstx-asl-3.0.1.jar from the std-bin nightly distro in your classpath, it will use those classes. HTH, Robert On 10/17/06, Brian Dillon (ext.

Re: dispatchers types in AXIS2

2006-10-17 Thread Anne Thomas Manes
AddressingBased: dispatch based on action parameter in the WS-Addressing header RequestURIBased: dispatch based on the access point URL SOAPActionBased: dispatch based on SOAPAction value in HTTP header SOAPMessageBodyBased: dispatch based on QName of child element of SOAP Body Anne On

RE: how to: code generation when there are multiple interfaces for a single service in WSDL

2006-10-17 Thread Spies, Brennan
Yadav, I think you are running into a similar issue that Robert and I were discussing with Jerome earlier, where Axis 2 WSDL2Java code generation does not seem to be handling portType/bindings with multiple operations. You should either create a JIRA or attach a comment to an existing

RE: how to: code generation when there are multiple interfaces for a single service in WSDL

2006-10-17 Thread Yadav, Yogendra \(IT\)
ok, thank you. From: Spies, Brennan [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 5:00 PMTo: axis-user@ws.apache.orgSubject: RE: how to: code generation when there are multiple interfaces for a single service in WSDL Yadav, I think you are running into a similar issue

RE: dispatchers types in AXIS2

2006-10-17 Thread Yadav, Yogendra \(IT\)
Thanx for the info. Please also tell me what should I do to make use of these dispatchers: 1. Is dispatch mechanism specified in WSDL? or 2. Is this a parameter provided to wsdl2java during code generation? I am looking for this info, I could not understand it so far, all the examples included in

Re: wrapped style with Axis2

2006-10-17 Thread Alex Hollerith
hi, yes - exactly that was the problem. .net client compiled with SOAP 1.2: no soap header - exception resending intercepted message (tcpmon) after adding empty soap header - working fine .net client compiled with SOAP 1.1: working fine from the beginning i wanted to come back to this as soon

Re: Axis 1.4 server - .NET 2.0 client - Doc/Literal namespace? trouble

2006-10-17 Thread Anne Thomas Manes
There's a namespace error in the response message. According to the WSDL, the response message should look like this (or the semantic equivalent): ?xml version=1.0 encoding=UTF-8? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;

RE: Rampart module

2006-10-17 Thread Sriram Vaidyanathan
Hi, Where can I get the source files for the Rampart Module? Also, any idea when will the Rampart 1.1 version coming out? Thanks Sriram -Original Message- From: Ruchith Fernando [mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2006 10:45 PM To: axis-user@ws.apache.org Subject:

RE: Compilation error with WSDL2Java and XmlBeans

2006-10-17 Thread Gul Onural
Just as a quick addition to Jerome's e-mail, I have seen similar anomalies in the wsdl2java when I import other xsd files into my wsdl file. For now I have decided to not to use wsdl2java and rely on Axiom to parse the xml messages, manually, until the wsdl2java is enhanced to handle complex wsdl

Re: Compilation error with WSDL2Java and XmlBeans

2006-10-17 Thread Davanum Srinivas
Gul, *PLEASE* create a JIRA, so that we can track and fix the problem. thanks, dims On 10/17/06, Gul Onural [EMAIL PROTECTED] wrote: Just as a quick addition to Jerome's e-mail, I have seen similar anomalies in the wsdl2java when I import other xsd files into my wsdl file. For now I have

Re: Compilation error with WSDL2Java and XmlBeans

2006-10-17 Thread Davanum Srinivas
Jerome, *PLEASE* create a JIRA, so that we can track and fix the problem. You can zip up the files and upload it to JIRA after you create the issue. thanks, dims On 10/17/06, Jerome Magnet [EMAIL PROTECTED] wrote: I finally managed to generate something based on the WSDL2Java and the XmlBeans

Re: dispatchers types in AXIS2

2006-10-17 Thread Eran Chinthaka
Yadav, Yogendra (IT) wrote: Thanx for the info. Please also tell me what should I do to make use of these dispatchers: 1. Is dispatch mechanism specified in WSDL? or 2. Is this a parameter provided to wsdl2java during code generation? You have this question even after reading this

RE: dispatchers types in AXIS2

2006-10-17 Thread Yadav, Yogendra \(IT\)
Excellent reference, thanx. -yogen -Original Message- From: Eran Chinthaka [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 11:59 PM To: axis-user@ws.apache.org Subject: Re: dispatchers types in AXIS2 Yadav, Yogendra (IT) wrote: Thanx for the info. Please also tell me what