Re: Axis2 - Castor?

2007-02-06 Thread Paul Fremantle
Bo Its simply that Axis2 uses STAX APIs (JSR 173) as its basis. Castor predates STAX. Its possible to link them but it wouldn't be efficient., Paul On 2/7/07, Bo Xie <[EMAIL PROTECTED]> wrote: Hi, Just wondering if anyone can share some insight on why Castor is not part of Axis2 data bindin

XML Union type problem

2007-02-06 Thread Amila Suriarachchi
hi, Can we use a simple type union as an attribute type? in other words is the following xmlSchema fragment correct? if so what could be the serialized xml pattern? I recently implemented the Union type support for adb. For a example Lets take following schema fra

Axis2 - Castor?

2007-02-06 Thread Bo Xie
Hi, Just wondering if anyone can share some insight on why Castor is not part of Axis2 data binding options? Or in another word, any features from XMLBean that makes it a better choice than Castor? Thanks, -Bo

Re: Axis2: skeleton differences w/Axis 1.4

2007-02-06 Thread Sarwar_Raza
Addendum to last post: Neither the unwrapping nor backwards compatilbity options in the codegen tool helped - which leads me to believe that something in the WSDL I attached in the last message may be amiss. Our goal is to pack portions of a SOAP header and SOAP body using the WSDL definitions -

Re: Axis2: skeleton differences w/Axis 1.4

2007-02-06 Thread Sarwar_Raza
Hi Anne, Thanks for the response. Here is what we were able to get working with Axis 1.4, and have been struggling with Axis 2... Our input message contained TWO parts, one destined for the body, and the other destined for the header (we set this up in the binding). The header contains security

Re: AXIS1.4 can not parse the version.wsdl generated by AXIS2-1.1

2007-02-06 Thread Anne Thomas Manes
There's an error in the WSDL. The name attribute in the (name="getVersionFault") must match the name attribute in the definition that defines the fault message (name="part1"). I suggest you switch to Axis2 1.1.1. Anne On 2/5/07, donald yang <[EMAIL PROTECTED]> wrote: Hi, When I use AXIS1.4

No deserializer for {http://ws.name.space}ArrayOf_xsd_anyType

2007-02-06 Thread Adam Wynne
I have a complex type containing numerous Java Collection objects (ArrayList, Set, etc.) which are being defined by axis in the generated wsdl as ArrayOf_xsd_anyType. The problem is that when the WSDL2Java-generated client calls the web service the following error is generated: org.xml.sax.SAXEx

RE: MTOM and SWA related problem

2007-02-06 Thread Yadav, Yogendra \(IT\)
Thank you Dims. One more question, when I used OperationClient API, the content-type and content-transfer-encoding for first part look like this: content-type: text/xml; charset=UTF-8 content-transfer-encoding: 8bit And for attachment part look like this: content-type: application/octet-stream co

Re: MTOM and SWA related problem

2007-02-06 Thread Davanum Srinivas
Yogen, Those are from Commons HTTP Client basically means that the client is using http chunking. thanks, dims On 2/6/07, Yadav, Yogendra (IT) <[EMAIL PROTECTED]> wrote: Hi, Anyone who has used attachments with AXIS2 ? -yogen From: Yadav, Yogendra (IT) S

Re: [AXIS2]XML Beans Problems

2007-02-06 Thread Marian Suran
Hi Anne, I tried axis1.4 and my client works fine now. Thank you for your help. Cheers, Marian 2007/2/4, Anne Thomas Manes <[EMAIL PROTECTED]>: This WSDL uses RPC/encoded, and Axis2 does not support SOAP Encoding. I recommend that you use Axis 1.4 instead. See http://www.apache.org/dyn/clos

Re: axis2 issue behind NAT

2007-02-06 Thread Johan Lundberg
Dims, https://issues.apache.org/jira/browse/AXIS2-2122 VBR johan Davanum Srinivas wrote: Johan, Yes, please create a JIRA and summarize the discussions/symptoms and patch. thanks, dims On 2/6/07, Johan Lundberg <[EMAIL PROTECTED]> wrote: Hi Alan Yes, your patch works fine when the param

RE: MTOM and SWA related problem

2007-02-06 Thread Yadav, Yogendra \(IT\)
Hi, Anyone who has used attachments with AXIS2 ? -yogen From: Yadav, Yogendra (IT) Sent: Tuesday, February 06, 2007 3:26 PM To: axis-user@ws.apache.org Subject: FW: MTOM and SWA related problem Sorry if this email is repeated multiple times. I had corporate s

[Axis2/Rampart/WS-SecurityPolicy] NullPointerException on request

2007-02-06 Thread Paul . Holmes
Hi, I'm having a problem using Axis2-1.1.1 and Rampart-1.1 with the new WS-SecurityPolicy configurations. Specifically, I get a NullPointerException on the server side that gets propogated back to the client via an AxisFault every time I send a request secured with WS-Security. Here's the s

FW: MTOM and SWA related problem

2007-02-06 Thread Yadav, Yogendra \(IT\)
Sorry if this email is repeated multiple times. I had corporate security issues sending attachments. Hi, This problem is related to using MTOM and SAAJ APIs in AXIS2. I am sending attachment to a service which is implemented using Sun's SAAJ implementation. When I use Sun's SAAJ as client to acc

MTOM and SWA related problem

2007-02-06 Thread Yadav, Yogendra \(IT\)
Hi, This problem is related to using MTOM and SAAJ APIs in AXIS2. I am sending attachment to a service which is implemented using Sun's SAAJ implementation. When I use Sun's SAAJ as client to access this service everything works well. But when use AXIS2's MTOM or SAAJ implementation, the service re

Re: Market Share of the Axis in web service industry

2007-02-06 Thread Anne Thomas Manes
I seriously doubt that you will find anyone that has don't this type of market analysis. It's almost impossible to determine the total market share of an open source project (at least with any kind of statistical accuracy). Axis and Axis2 certainly hold a major share of the open source SOAP implem

Re: axis2 issue behind NAT

2007-02-06 Thread Davanum Srinivas
Johan, Yes, please create a JIRA and summarize the discussions/symptoms and patch. thanks, dims On 2/6/07, Johan Lundberg <[EMAIL PROTECTED]> wrote: Hi Alan Yes, your patch works fine when the parameter useOriginalwsdl=false but it does not seems to have an effect when useOriginalwsdl=true. A

Re: Axis2: skeleton differences w/Axis 1.4

2007-02-06 Thread Anne Thomas Manes
"changing a few 'types' to 'elements'" tells me that the original WSDL was defined as style="rpc", and my guess is that it used RPC/encoded. Unfortunately, you have to do a little more than just tweak the "types" to "elements". For one thing, when using document style, your message may contain at

Re: Axis2 with RPC and dataBinding question

2007-02-06 Thread Anne Thomas Manes
Axis2 supports RPC/literal, but it does not support RPC/encoded. Anne On 2/6/07, Marian Suran <[EMAIL PROTECTED]> wrote: Hi, I have the same problem and when I go with mouse pointer in the debug mode inside net beans IDE over "env" variable, which holds soap envelope request, right before serv

Re: Axis2 useOriginalwsdl / xsd url path

2007-02-06 Thread danop
Thanks. Was able to finally getting to use the original wsdl. However, another issues has surfaced where the xsd's that are imported in the types section of the wsdl cannot be resolved. When I change the schemaLocation in the xsd:import element and deploy the service on axis2, axis2 keeps ret

Re: axis2 issue behind NAT

2007-02-06 Thread Johan Lundberg
Hi Alan Yes, your patch works fine when the parameter useOriginalwsdl=false but it does not seems to have an effect when useOriginalwsdl=true. As you say, this might be taken care of in another place. However I don't know the axis2 code at all so I just have to report a bug and try to find a

Re: Axis2 with RPC and dataBinding question

2007-02-06 Thread Marian Suran
Hi, I have the same problem and when I go with mouse pointer in the debug mode inside net beans IDE over "env" variable, which holds soap envelope request, right before service execute method to watch its current value I can see correct soap envelope and then I step over execute method in the deb

{Axis2] contextRoot and servicePath settings

2007-02-06 Thread Vedha Vijayan
Hi, I use Axis2-1.1.1 version as an embedded webapp in Tomcat 5.5.17. I've deployed my service and the endpoint to this service is http://localhost:8080/Comergent/ws/matrix/services/UserService . Without changing the settings for contextRoot and servicePath properties in axis2.xml, the service

Re: keyref works in xsd but not in wsdl

2007-02-06 Thread Anne Thomas Manes
That sounds like a problem with Xerces, if it's not catching the validation error. (Note that Axis does not attempt to validate messages, so you must perform the validation using a handler or intermediary.) Anne On 2/6/07, pau carre <[EMAIL PROTECTED]> wrote: Hi all, I have witten an schema (XS

Re: Message element name and documen tstyle service

2007-02-06 Thread Anne Thomas Manes
I recommend that you edit the generated WSDL and fix the import, and make sure that the invDoc element is properly defined (i.e., not xsd:anyType), then gen your service from the WSDL using wsdl2java. Anne On 2/6/07, Pedro Silveira Vieira da Silva <[EMAIL PROTECTED]> wrote: I've created a web s

Re: [Axis2] Using axis2.war repository remotely from another application

2007-02-06 Thread Evaldas Taroza
Hi, Thanks for the answer. However, I don't quite understand how I can get the MessageContext. I am not calling any service. Let me clarify a bit: say the axis2.war is already running and has its own ConfigurationContext. So I can deploy modules/services to it. Now I am writing a test case

Re: Axis gsoap interoperability

2007-02-06 Thread Heiko Perkuhn
Yes, I used -e with soapcpp2 and then it worked fine... Heiko Original-Nachricht Datum: Fri, 2 Feb 2007 18:19:47 -0500 Von: "Anne Thomas Manes" <[EMAIL PROTECTED]> An: axis-user@ws.apache.org CC: Betreff: Re: Axis gsoap interoperability > Well, for one thing, you should not

Re: Help describing fault

2007-02-06 Thread Javier Kohen
El mar, 06-02-2007 a las 11:52 +0530, sumedha rubasinghe escribió: > Hi Javier, > I am not quite sure what you meant by ' describing the following two > fault messages with WSDL + SOAP1.1'. > > But what I gathered from the replies you got is, > > 1. You have called a web service ( possibly an a

RE: WS-Security in Axis2

2007-02-06 Thread Ted Jones
Thanks for the reply Slim. Did you have to configure the gSOAP client with the client.axis2.xml file? From: zze-Basic DRISS S ext RD-MAPS-ISS [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 23, 2007 10:46 AM To: axis-user@ws.apache.org Subject: RE: WS-Security

How should I use ArrayOfXXX wrapper class?

2007-02-06 Thread Bentzy Sagiv
I have a WSDL that defines a method that has 1 argument: an array of a custom class MyClass: void f(MyClass[] arr){} I convert this WSDL to Java using Axis2 wsdl2java tool. The conversion creates a method that instead of MyClass[] receives a generated class: ArrayOfMyClass: void f(ArrayOf

Message element name and documen tstyle service

2007-02-06 Thread Pedro Silveira Vieira da Silva
I've created a web service that has a simple function that receives a parameter: package pt.gedi.ws; import oasisNamesSpecificationUblSchemaXsdInvoice2.InvoiceDocument; public class ReceiveInvoice { public void receive(InvoiceDocument invDoc) { doSomething(invDoc);

RE: [Axis2] Using axis2.war repository remotely from another application

2007-02-06 Thread Brecht Yperman
Not right now, sorry. I created the webservice because I needed to be able to deploy webservices from any machine, not just from the machine Axis2 is deployed on. You could look at the code [1] to find out how to initiate the ConfigurationContext. Look for initConfigContext. Brecht [1] http://s

Re: [axis2] jars for ADB client

2007-02-06 Thread Davanum Srinivas
Here's what i use: I think you can strip it down further. XmlSchema-1.2.jar activation-1.1.jar annogen-0.1.0.jar axiom-api-1.2.2.jar axiom-impl-1.2.2.jar axis2-adb-1.1.1.jar axis2-adb-codegen-1.1.1.jar axis2-codegen-1.1.1.jar axis2-java2wsdl-1.1.1.jar axis2-kernel-1.1.1.jar axis2-tools-1.1.1.jar

Re: Compile error

2007-02-06 Thread Davanum Srinivas
Jim, I opened a JIRA issue. Could you please upload your wsdl here? https://issues.apache.org/jira/browse/AXIS2-2119 thanks, dims On 2/6/07, Jim Apple <[EMAIL PROTECTED]> wrote: I tried building a client using Axis2-1.1.1, wsdl2java and it fails to compile. The problem is caused by t

keyref works in xsd but not in wsdl

2007-02-06 Thread pau carre
Hi all, I have witten an schema (XSD) using key and keyref elements. This XSD has been tested successfully with some XML files. The problem is that when I add this XSD to a WSDL (copy-paste) wrong soap instances (XML instances in the context of XSD) are validated OK when they do not fit the keyref

RE: [Axis2] Change Axis2 Addressing behaviour

2007-02-06 Thread Brecht Yperman
https://issues.apache.org/jira/browse/AXIS2-2118 Thanks, Brecht -Original Message- From: David Illsley [mailto:[EMAIL PROTECTED] Sent: dinsdag 6 februari 2007 13:51 To: axis-user@ws.apache.org Subject: Re: [Axis2] Change Axis2 Addressing behaviour Hi Brent, Can you raise a JIRA [1], and

Re: [Axis2] Change Axis2 Addressing behaviour

2007-02-06 Thread David Illsley
Hi Brent, Can you raise a JIRA [1], and mention the version of Axis2 you're using and which client API. e.g. ServiceClient/Generated Stub. Thanks, David [1] http://issues.apache.org/jira/browse/AXIS2 On 06/02/07, Brecht Yperman <[EMAIL PROTECTED]> wrote: Hi, I'm trying to communicate to a .NE

Compile error

2007-02-06 Thread Jim Apple
I tried building a client using Axis2-1.1.1, wsdl2java and it fails to compile. The problem is caused by this line in the wsdl It results in a Java variable name with a "-" in it. java.lang.String tempAttribpost-sale Thanks - Jim

RE: [Axis2] Using axis2.war repository remotely from another application

2007-02-06 Thread Brecht Yperman
You can get the ConfigurationContext using a method like this: private File getServiceDir() { if (f_serviceDir == null) { MessageContext mc = MessageContext.getCurrentMessageContext(); try { ConfigurationContext cc = mc.getConfigurati

RE: [Axis2] Using axis2.war repository remotely from another application

2007-02-06 Thread Brecht Yperman
Hi, I've done this creating a webservice which mimicks behaviour from the AxisAdminServlet (AdminAgent.processUpload). Basically it's a webservice that takes user credentials (to prevent anyone from deploying webservices), a base64 encoded webservice jar and a filename, and writes the bytes from

[Axis2] Using axis2.war repository remotely from another application

2007-02-06 Thread Evaldas Taroza
Hi, I want to programmatically deploy modules/services to the axis2 repository configured in axis2.war. This way I want to be able to admin the services I deploy from my application using axis2.war administration page. As far as I understand I need to somehow get the instance of Configurati

[Axis2] Change Axis2 Addressing behaviour

2007-02-06 Thread Brecht Yperman
Hi, I'm trying to communicate to a .NET/WSE2.0 webservice. The problem we have now seems to be something with addressing. I already changed the namespace using the ServiceClient options: f_client.getOptions().setProperty(AddressingConstants.WS_ADDRESSING_VERS ION, Submission.WSA_NAMESPACE); The

Re: Multiple parts in message

2007-02-06 Thread Davanum Srinivas
Amila, Not so fast :) search for soap_header in InterfaceImplementationTemplate.xsl. I think we do. We should if we don't... thanks, dims On 2/6/07, Amila Suriarachchi <[EMAIL PROTECTED]> wrote: On 2/3/07, Kang, Kamaljeet K. <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > I have a following wsd

Caching question in Axis/Tomcat

2007-02-06 Thread nagybaly
Hello, Please help me in the following issue: I’m writing a web service in java with Tomcat + Axis which provides only just one method for sending a mail. Based on the given parameters it retrieves the email addresses from an ldap server and then sends the mails. I need to create a server sid

Re: axis2 issue behind NAT

2007-02-06 Thread Alan Birtles
Maybe the address is populated in more than one place, i don't know the axis code well enough to find out. Try not telling it to use your wsdl as my patch definitely works for automatically generated wsdls Quoting Johan Lundberg <[EMAIL PROTECTED]>: So I tried to run my .aar file in the nig

Axis2 deployment on WebSphere 6.0.2

2007-02-06 Thread scott ken
I wrote my sample code with Axis2 and deployed Axis2.war on both jakarta tomcat 4.1.31 and IBM WebSphere 6.0.2. I found it behaves weird on WebSphere when I was running my Microsoft WSE 3.0 client against it. I enabled MTOM in axis2.xml. From WSE 3.0 client to axis2.war on tomcat, the content type