AW: Axis2 webservice using MTOM/.NET client

2008-05-01 Thread Roeder, Andreas
Dear Thilina, Another thing I recognized is, that I don't have this line in my wsdl: Instead of this I got: So, there might be something wrong I guess. Best Regards, Andreas -Ursprüngliche Nachricht- Von: Roeder, Andreas Gesendet: Freitag, 2. Mai 2008 08:28 An: 'axis-user@ws.apa

AW: Axis2 webservice using MTOM/.NET client

2008-05-01 Thread Roeder, Andreas
Dear Thilina, I was able to fix the SoapException. I just changed the services.xml file to: de.firstdata.centera.connector.Connector http://www.w3.org/2004/08/wsdl/in-out"; class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/> urn:"storeDocument" h

AW: Axis2 webservice using MTOM/.NET client

2008-05-01 Thread Roeder, Andreas
Dear Thilina, Thank you very much for your response. I just tried the quick & dirty way (my method name is retrieveDocument) and I got a SoapException on the .NET client side: "Message Receiver not found for AxisOperation: retrieveDocument" Do I need a axis2 library on the client side? Best R

Re: Axis2 - MTOM Sample error

2008-05-01 Thread Thilina Gunarathne
That ant build uses wsdl2java... I'm not sure why it prints out wsdl2code options... Can you confirm that your are using axis2-1.3 binary distribution without any changes to the build script or the directory hierarchy of the extracted dist... See the following and check whether your build file ha

RE: Axis2 - MTOM Sample error

2008-05-01 Thread PR, Rajesh (GE Infra, Energy, Non-GE)
Hi, am using the ant build thats provided with the sample. i added the option -d adb. But the WSDl2Java am using doesnt have this option. am using Axis2 1.3. Following are the only options i have generate.service: [java] Usage WSDL2Code -uri :WSDL file location [java] -o : output file loc

MessageContext in handler

2008-05-01 Thread Parham, Clinton
Hi, I'm new to Axis2 and still trying to get comfortable with the new architecture. I have engaged the Rampart module and during CallbackHandler.handle(), I need to connect to my database to verify the password. Once verified, I would like to store the database connection (along with some other

Re: Axis2 - MTOM Sample error

2008-05-01 Thread Thilina Gunarathne
I suggested the following as your stacktrace shows it's using XMLBeans for data binding.. On Thu, May 1, 2008 at 9:05 PM, Thilina Gunarathne <[EMAIL PROTECTED]> wrote: > Hi, > MTOM sample comes with XMIME.xsd and has a schema import to that from the > wsdl... Are you using the standard ant build

Re: Axis2 - MTOM Sample error

2008-05-01 Thread Thilina Gunarathne
Hi, MTOM sample comes with XMIME.xsd and has a schema import to that from the wsdl... Are you using the standard ant build provided with the sample... The sample is supposed to be code generated using ADB as XMLBeans does not have full support for MTOM... The ant build is written to use the Axis2'

Problems getting WSDL 1.1...Flex 3 woes

2008-05-01 Thread Michael Bauer
I have been trying to get a working Flex 3 compatible Web Service using Axis 2 for quite some time now. What I have is a Axis2 WS deployed under a compressed WAR in JBoss. At first, I attempted to use the POJO approach, but I ran into problems where Axis2 turned all my custom classes into

RE: Axis2 - MTOM Sample error

2008-05-01 Thread PR, Rajesh (GE Infra, Energy, Non-GE)
The mtom sample, has the xmime.xsd, in the same location as the WSDL That shouldnt be an issue. Also, i dont have any proxy set in my machine. i access the internet directly from my machine without any proxy. Please help me, what could be causing the issue. Thanks Rajesh _

Re: Best way to call a RPC/Encoded style webservice

2008-05-01 Thread Anne Thomas Manes
Use Axis (as opposed to Axis2). See http://ws.apache.org/axis/. Anne On Wed, Apr 23, 2008 at 3:31 AM, Christophe Hamerling <[EMAIL PROTECTED]> wrote: > Hi all, > > I need to call a RPC/Encoded WS. Unfortunatly, this style has been > deprecated and it is not possible to build Stub from WSDL with c

Re: Formatting request style

2008-05-01 Thread Anne Thomas Manes
Axis generates RPC/encoded by default unless you tell it otherwise. It doesn't check the WSDL at runtime, so it relies on you to specify the proper settings. If you use wsdl2java, the generated client stub will have all the proper settings, but because you are using the Call interface, you must pr

Re: Are there interoperability concerns with certain xml schema (xsd) construct ?

2008-05-01 Thread Anne Thomas Manes
Attributes are generally okay. Choice, list, union, abstract types, and substitution groups can cause interoperability problems. Anne On Thu, May 1, 2008 at 3:47 PM, John Eapen <[EMAIL PROTECTED]> wrote: > > Hello - > > Are there any do and don't with regards to interoperability when it comes to

Re: wsdl2java

2008-05-01 Thread Anne Thomas Manes
On Thu, May 1, 2008 at 6:21 PM, A Sunley <[EMAIL PROTECTED]> wrote: > > Greetings, > > We are attempting to generate some skeleton code from a wsdl using > wsdl2java. Our schema contains some custom objects which have nested arrays. > > F

wsdl2java

2008-05-01 Thread A Sunley
Greetings, We are attempting to generate some skeleton code from a wsdl using wsdl2java. Our schema contains some custom objects which have nested arrays. For instance we have a course object which has an array of schedules, and we want the course object in the SOAP message to be structured in t

Re: Axis2 - MTOM Sample error

2008-05-01 Thread Yogesh . Dhake
1)Try putting attached xmime.xsd local in you wsdl folder 2) put following import statement in wsdl or schema http://www.w3.org/2005/05/xmlmime"; schemaLocation="xmlmime.xsd" /> I hope this will work for you. Else you need to enable proxy setting in JVM regards

Axis2 - MTOM Sample error

2008-05-01 Thread PR, Rajesh (GE Infra, Energy, Non-GE)
Hi all, am getting the following error, when i try to build the mtom sample which comes with Axis2 - Version 1.3 Exception in thread "main" java.lang.RuntimeException: org.apache.xmlbeans.XmlException: error: Could not load resource "xmime.xsd" (network downloads disabled). at o

JAX-WS service deployment for axis2 and tomcat

2008-05-01 Thread virtuallight
How do you deploy a JAX-WS web service to Axis2 in Tomcat. I could find no documentation on this. What steps are needed and what goes where? I have played around with this for a couple of days now and still can get nothing working. Regards, Bill

Are there interoperability concerns with certain xml schema (xsd) construct ?

2008-05-01 Thread John Eapen
Hello - Are there any do and don't with regards to interoperability when it comes to using certain XML Schema definition constructs. eg: Use of , or xsd:choice etc. Apart from the usual "Element Vs Attribute", is there any reason why in web services world, one does not see "xsd:attribute" being

Re: Problem with Axis sample test

2008-05-01 Thread Benjamin Tan
Steve: Thank you very much for your suggestion. Honestly, I am new to Axis and Java. So far, I am following the installation guide to test out my Axis installation. FYI - I was trying to test the "getQuote" sample that came with the package. I will go SUN to download the JAF and continue from the

RE: Problem with Axis sample test

2008-05-01 Thread Steve Hall
Benjamin, It looks like you need to add the javabeans activation framework (JAF) jar aka activation.jar to your classpath. JAF deals with mime types and is used for attachments. Note, it is my understanding that JAF is only required when writing services that use soap with attachments. http:

Re: Axis2 accepting self signed certificate from the server

2008-05-01 Thread nipa dadbhawala
Steve, Thank you for your response. Yes I am aware that I could import the certificate but I do not want that solution. I know in Axis 1.x, the following worked. AxisProperties.setProperty("axis.socketSecureFactory", "org.apache.axis.components.net.SunFakeTrustSocketFactory"); I want to do somet

Problem with Axis sample test

2008-05-01 Thread Benjamin Tan
Hi: I am new to Axis. I think, I have succeeded in installed Axis 1.4x using Tomcat 4.1x on SUN Solaris 2.9 OS. When I tried to run one of the sample --- java -cp $AXISCLASSPATH org.apache.axis.client.AdminClient -lhttp://localhost:8088/axis/services/AdminServ

Re: Axis2 accepting self signed certificate from the server

2008-05-01 Thread SGruverman
Nipa, I'm afraid you're already aware of the two alternatives I know of: import the certificate (I think what you actually need is the certificate of the key used to self-sign the cert being used for SSL) or override the part of the SSL implementation that requires this. As for importing the cert

Axis inserting own classes with wsdl2java

2008-05-01 Thread Pankaj Gupta
Hi, I am new to webservices and axis. I am using wsdl2java tool to create java source files. The problem is that the tool creates a reference of org.apache.axis.types.PositiveInteger class for xsd:positiveInteger data type. I dont want to make my SOAP service dependent on Axis. Is there any w