RE: [Axis2][Fwd: using WSDL2Code -l c generates some java some C code... Help need]

2006-10-16 Thread Sharad Baronia
Hi Dimuthu, I had already tried that. I give the same respond, except that it doesnt generate stub anymore. Thanks, /Sharad From: Dimuthu Chathuranga [mailto:[EMAIL PROTECTED] Sent: Friday, October 13, 2006 2:48 AM To: Apache AXIS C User List Subject: Re:

RE: [Axis2][Fwd: using WSDL2Code -l c generates some java some C code... Help need]

2006-10-16 Thread Dave Meier
I am also seeing the same problem. Specifying "-d adb" when running WSDL2Code to generate C code as shown below results in all the data structures being generated in Java. Will this be fixed soon? Thanks, -Dave. From: Sharad Baronia [mailto:[EMAIL PROTECTED] Sent: Monday, October 16,

MTOM issues.Urgent

2006-10-16 Thread Ramkumar . Sakthivel
Hi All, I have taken the mtom example provided with Axis2, modified a little bit. Now I am sending the file as a binary data to web service and when I try to get the datahandler reference at the web service I am getting an exception. Following is the exception stack trace attached.

Re: incomplete generated WSDL file

2006-10-16 Thread Benjamin Fan
I strongly recommend _against_ using Java2WSDL - the WSDL is very poor in my opinion. Last time I used Axis I hand-cut the WSDL; vetted it within XMLSpy Eclipse (uses the W3C test suite) and used WSDL2Java. On 12/10/06, Nicolas Urien [EMAIL PROTECTED] wrote: Hi, I am using Axis v1.4. My axis

Re: MTOM issues.Urgent

2006-10-16 Thread Thilina Gunarathne
Please post your message snapshots... Thilina On 10/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, I have taken the mtom example provided with Axis2, modified a little bit. Now I am sending the file as a binary data to web service and when I try to get the datahandler

Axis 1.3 + a lot of messages per second

2006-10-16 Thread Richard Fagot
Hi all, I have a client that I can't modify. This client can send 1 soap messages per second. Each of these messages must be processed by the web service (axis 1.3) but the client must not be affected by the time of the process (when it sends a messages it can send another message

[Axis] Question about continous NTLM Authentication

2006-10-16 Thread Marco Schimmelpfennig
Hi there, I'm not sure if I'm entirely right but it seems that I'm not able to get Axis1 to authenticate itself on each request through NTLM at a webservice I'm working on. Am I right about this? Isn't it possible to somehow give Axis1 the credentials so that CommonsHTTPSender uses them each time

service deployment

2006-10-16 Thread VF
Hi all, pls cann someone help me. My service is working on my local PC. But after deployment on client pc this service failed when i checked it from Axis2 link to Services. Other samples (mtomsample,version) are running. I have only access to axis2 services folder on client PC. Is it smth with

RE: Query on WSDL:Faults

2006-10-16 Thread Sivaramakrishnan Rajamani
Thanks, I looked at the BankClient Example. Even in my case it works fine for an Axis2Service - Axis2Client combination. When my client is WebSphere based Web service client, the Exception class that gets generated is different and I get a classCastException. Thanks Siva -Original

Re: Axis 1.3 + a lot of messages per second

2006-10-16 Thread Filozof71
- Original Message - From: Richard Fagot [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Monday, October 16, 2006 9:18 AM Subject: Axis 1.3 + a lot of messages per second Hi all, I have a client that I can't modify. This client can send 1 soap messages per second. Each

Re: Maven war failure

2006-10-16 Thread Thilina Gunarathne
Please use the nightly builds available at http://people.apache.org/dist/axis2/nightly/ or the Axis2 1.1-RC1 available at http://people.apache.org/~thilina/axis2/1.1-RC1/ ~Thilina On 10/16/06, OUYANG Yang [EMAIL PROTECTED] wrote: Hi I have problem when I try to use maven war to build the

Re: service deployment

2006-10-16 Thread Filozof71
- Original Message - From: VF [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Monday, October 16, 2006 9:56 AM Subject: service deployment Hi all, pls cann someone help me. My service is working on my local PC. But after deployment on client pc this service failed when i checked

Construct SOAP message in Axis2

2006-10-16 Thread Ramasamy, Niraimathi \(Cognizant\)
Hi, I am trying to construct soap message in Axis2. I have tried with following: org.apache.axiom.soap.SOAPEnvelope env = msgContext.getEnvelope(); But it is returning the envelope with empty message. I have also tried with env.build but it is causing the exception

Axis2 and Seam

2006-10-16 Thread Brian Dillon (ext. 944)
Hi, Has anyone used Axis2 with Seam ? When I add in the jboss-ejb3-all.jar (shipped with Seam)into the lib directory of my axis2 war I get the following exception ? - Servlet /refappsoap threw load() exceptionjava.lang.NullPointerException at

RE: service deployment

2006-10-16 Thread VF
Yes it is in stack trace - class not found, but this class - stkws.axws.StkddsMessageReceiverInOut- is present in service archive. -- This Web axisService has deployment faults Error: org.apache.axis2.deployment.DeploymentException: Processing Operations Modules

Re: MTOM issues.Urgent

2006-10-16 Thread Thilina Gunarathne
add the following line before calling binaryNode.getDataHandler()... binaryNode.setBinary(true); This is needed since the binary attachment in your equest is coming as Base64Encoded String... Reason may be you haven't enabled MTOM in the client side...

Re: Axis 1.3 + a lot of messages per second

2006-10-16 Thread Anne Thomas Manes
You might consider using Axis2 to implement the service. It's better capable of dealing with asynchronous processing, and you can design your own message receiver to do what you need. If you want to use Axis, you have to use the message provider (provider=MSG) to support one-way messages. I

Re: Construct SOAP message in Axis2

2006-10-16 Thread Srinath Perera
This should helphttp://www-128.ibm.com/developerworks/library/x-axiom/You should use SOAP11Factory fac = OMAbstractFactory.getSOAP11Factory () in place of OMFactory and StAXSOAPModelBuilder in place of StAXModelBuilderto get Soap specific things!!hope this helpsSrinathOn 10/16/06, Ramasamy,

Re: Parameters in wsdl

2006-10-16 Thread Anne Thomas Manes
There is no other solution -- use java2wsdl and wsdl2java or accept the fact that Axis will generate non-informative element names. Annr On 10/16/06, Rusda, Sabri [EMAIL PROTECTED] wrote: Hi Anne, Thanks for your respnse.. I already compiled java source with debug option. But I'm not using

Re: [Axis2] question about XML Schema Soap msg validation in axis

2006-10-16 Thread Anne Thomas Manes
No -- schema validation is an extremely expensive process, so it would totally inappropriate to validate all messages. Neither Axis nor Axis2 provides a built-in validation processor. If you want to validate the messages, you should use either a handler or an intermediary to do so. For best

Re: Axis2 and Seam

2006-10-16 Thread Eran Chinthaka
Hi Brian, I had a quick look at this. Seems you are using Axis2 1.0, as the line numbers are incorrect in the current code base. Can you please check this with latest nightly builds and post here the stacktrace if the problem exists even with it? -- Chinthaka Brian Dillon (ext. 944) wrote:

Re: Schema question

2006-10-16 Thread Anne Thomas Manes
You may define a particular element only once in a schema, so if the element is used in multiple places, you must define it as a global and reference it from the various types that use it. (Only global elements can be referenced.) Or perhaps you want to allow the element to be used both as a root

Re: service deployment

2006-10-16 Thread Filozof71
- Original Message - From: VF [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Monday, October 16, 2006 12:22 PM Subject: RE: service deployment Yes it is in stack trace - class not found, but this class - stkws.axws.StkddsMessageReceiverInOut- is present in service archive. It

Re: Unexpected subelement problem in xsd:any

2006-10-16 Thread Ramasamy, Niraimathi \(Cognizant\)
Hi, I have tried with latest nightly build. Now xsd:any allowing me to add only one elements. As per xsd:anywe should able to add any number of elements under the xsd:any type Ex: Here Detail is the xsd:any type. I can able to add single element under Detail element When i add the second

RE: Schema question

2006-10-16 Thread Kedar, Shahar
Hi Ann, Thanks for the quick answer. Another question: The {ref} attribute is used only to refer to a global {element}? Can it be used to refer to a {complexType}? If so, then is it possible to define an {element} and a {complexType} with the same name? Thanks, Shahar. -Original

FW: Schema question

2006-10-16 Thread Kedar, Shahar
Ann, To add to my questions below, how can a schema parser distinguish between a reference to an {element} and to a {complexType} if they have the same name? Thanks, Shahar -Original Message- From: Kedar, Shahar [mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2006 2:30 PM To:

Re: FW: Schema question

2006-10-16 Thread Jeff Greif
A complex type is referenced in schemas using type=ns:my-type-name where ns is a prefix bound to the namespace in which the type is designed. A type and an element may have the same name. It is not possible, I think, for an ambiguity to arise within the XML Schema system itself, or in many

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

2006-10-16 Thread Philipp Stader
Thank you very much for your reply! On 10/15/06, Anne Thomas Manes [EMAIL PROTECTED] wrote: How did you generate the WSDL? (The WSDL and the response message don't match.) For best result, generate a wrapped style service. I am using wrapped/literal now. The Wsdl is generated through Axis

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

2006-10-16 Thread Marco Schimmelpfennig
Hi there, at the moment I'm using Axis 1.4 trying to connect and consume a web service of a Microsoft CRM. WSDL2Java worked flawlessly and I only did some modifications to get the NTLM authentication for the Microsoft CRM to work. I edited the clientconfig.wsdd to use CommonsHTTPSender instead

[Axis 2] The stub do not find the answer data

2006-10-16 Thread Jérôme Mainaud
Hello, I have a service provided by Axis 1.4. Because that service is written by an other company, I cannot change the service itself. I'm writting a client to that service. I'm using Axis 2 (1.1-SNAPSHOT I took last week). I generate a Stub with WSDL2Code using adb. I choose adb because it is

[Axis2] Roadmap for the implementation of the WS-* standards

2006-10-16 Thread Gul Onural
Title: [Axis2] Roadmap for the implementation of the WS-* standards Hi, Is there a roadmap document for the Axis2 specifying the timelines for implementing some of the WS-* standards, such as WS-RF (resource framework) ? Can Axis2 Project Team comment on this, please ? Thanks Gul

Where to find Schema

2006-10-16 Thread Hoying, Ken
I need the schema for the type apachesoap:Map. Where can I find this? Thank you, Ken ** This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is

Re: Where to find Schema

2006-10-16 Thread Martin Gainty
You'll need the original definitionidentified in your definitions tagsuch as what we see here wsdl:definitions xmlns:apachesoap=http://xml.apache.org/xml-soap / later on in the types tag you'll define the specific entity Map as in wsdl:types schema xmlns="

RE: Compilation error with WSDL2Java and XmlBeans

2006-10-16 Thread Jerome Magnet
Robert, I tried the latest nightly load. It does not fail as before. But, I got the following output (see below): I got three java classes and 2 XML resources. I don't see any XMLBeans Java classes based on the XML schema of all messages (request/Response/Exception). Also, reading the generated

RE: Compilation error with WSDL2Java and XmlBeans

2006-10-16 Thread Spies, Brennan
Jerome, Can't see your XSD definitions, but are you using elementFormDefault=qualified? (BTW, I have been using Axis 2.0 with the exact same scenario as you have, and works for me). Brennan Spies Sr. Programmer Analyst Shared Application Services -Original Message- From: Jerome Magnet

Re: Compilation error with WSDL2Java and XmlBeans

2006-10-16 Thread robert lazarski
I also just noticed you have some old jars in your classpath. Try placing _only_ the jars in your classpath that are from the nightly std-bin distro. Robert On 10/16/06, robert lazarski [EMAIL PROTECTED] wrote: Post your wsdl and schemas and maybe we can help. The wsdl does validate, right ?

Service operation synchronization error Axis 1.4

2006-10-16 Thread Damian . Phillips
Hi all, I have used Axis 1.4 to successfully deploy the multiple-operation web service defined by the attached WSDL. In my environment I have deployed both the client and server stubs as i need to emulate a test environment, hence I need the client stubs calls to hit my server stubs. If you look

Re: Compilation error with WSDL2Java and XmlBeans

2006-10-16 Thread robert lazarski
This zip file has all the jars you need - only these jars should be in your classpath. http://people.apache.org/dist/axis2/nightly/axis2-std-1.1-SNAPSHOT-bin.zip Could you try that packages jars and let us know if that works for you? If not I'll try and give a look at it. Robert On 10/16/06,

RE: Compilation error with WSDL2Java and XmlBeans

2006-10-16 Thread Gul Onural
Jerome, The std-bin he mentioned can be downloaded from http://people.apache.org/dist/axis2/nightly/. The name of the zip file you want to download is axis2-std-1.1-SNAPSHOT-bin.zip Gul -Original Message- From: Magnet, Jerome (CAR:QT11) Sent: Monday, October 16, 2006 8:38 PM To:

RE: Compilation error with WSDL2Java and XmlBeans

2006-10-16 Thread Jerome Magnet
That's the nightly package I used to get the output mentioned earlier (see below). Also, I tried to simplify the XSD of the messages by having all definitions in one XSD file. I simplified the message schema with a simple element definition with one level of element's containment for each message.

Rampart module

2006-10-16 Thread Marcel Casado
Hi, Where I can find a snapshot of the Rampart module that works fine with an snapshot of Axis2 1.1 ? Thanks, -Marcel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: MTOM issues.Urgent

2006-10-16 Thread Thilina Gunarathne
Again, a message snapshot will help me a lot to understand what's going on... Seems like Axis2 engine fails while trying to send an AxisFault... Also see whether you have any info in the logs... ~Thilina On 10/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Thilina, Thank you so

[Axis2] HTTP/1.1 100

2006-10-16 Thread Nirmit Desai
Hi, With my generic Axis client code, I am trying to invoke some services available on strikeIron web site. Interestingly, I can sucessfully invoke most of them but for some of them I get this error: INFO: Discarding unexpected response: HTTP/1.1 100 Continue org.apache.axis2.AxisFault: HTTP

Re: [Axis2] HTTP/1.1 100

2006-10-16 Thread Davanum Srinivas
Can you please log a JIRA bug with the specific service in question? and the client code/snippet to recreate the problem? thanks, dims On 10/16/06, Nirmit Desai [EMAIL PROTECTED] wrote: Hi, With my generic Axis client code, I am trying to invoke some services available on strikeIron web

Re: Unexpected subelement problem in xsd:any

2006-10-16 Thread Davanum Srinivas
Are u using this construct? Can you please log a bug report with your wsdl/xsd? thanks, dims xs:complexType xs:sequence xs:any namespace=##any/ /xs:sequence /xs:complexType On 10/16/06, Ramasamy, Niraimathi (Cognizant) [EMAIL PROTECTED] wrote: Hi,

Re: Unexpected subelement problem in xsd:any

2006-10-16 Thread Davanum Srinivas
Please log a JIRA with your wsdl/xsd. Let's take a look at it. thanks, dims On 10/17/06, Ramasamy, Niraimathi (Cognizant) [EMAIL PROTECTED] wrote: Yes I am using the same construct which you have mentioned. When can I expect resolved version dims. Thanks for your help. Regards, Niraimathi

RE: Unexpected subelement problem in xsd:any

2006-10-16 Thread Ramasamy, Niraimathi \(Cognizant\)
Yes I am using the same construct which you have mentioned. When can I expect resolved version dims. Thanks for your help. Regards, Niraimathi R Cognizant Technology Solutions Cell: 9841234394 Office:044-42284005 -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED]

Construct SOAP message in Axis2

2006-10-16 Thread Ramasamy, Niraimathi \(Cognizant\)
Hi, I am trying to construct soap message in Axis2. I have tried with following: org.apache.axiom.soap.SOAPEnvelope env = msgContext.getEnvelope(); But it is returning the envelope with empty message. I have also tried with env.build but it is causing the exception

Re: Construct SOAP message in Axis2

2006-10-16 Thread Eran Chinthaka
Where do you wanna do this and why? If you can express what you are trying to do, it will be easier for us to answer. Ramasamy, Niraimathi (Cognizant) wrote: Hi, I am trying to construct soap message in Axis2. I have tried with following: org.apache.axiom.soap.SOAPEnvelope env =

Re: Rampart module

2006-10-16 Thread Ruchith Fernando
Please try this : http://people.apache.org/repository/org.apache.axis2/mars/rampart-1.1-SNAPSHOT.mar Thanks, Ruchith On 10/17/06, Marcel Casado [EMAIL PROTECTED] wrote: Hi, Where I can find a snapshot of the Rampart module that works fine with an snapshot of Axis2 1.1 ? Thanks, -Marcel