Namespace problem or data type problem?

2007-10-16 Thread foo shyn
Hi guys, I'd face another issue while trying to connect to the third party web services using Axis 1.4 Client. I have a few parameters that i need to pass over as short, from the SOAP envelope that i get, i find that the message is send through this format: where the href refers to the mu

RE: Problem with parameter SOAPAction

2007-10-16 Thread Cedric Peyruqueou
Hello Charitha, Thank you very much for your time and your help, it works now with the instruction you gave me. Best Regards, Cédric Peyruqueou -Message d'origine- De : Charitha Kankanamge [mailto:[EMAIL PROTECTED] Envoyé : mardi 16 octobre 2007 18:49 À : axis-user@ws.apache.or

Unable to Pass values of type LONG from .NET client to Java webservice

2007-10-16 Thread Raghavan
Hi, We have a java web service running in Axis 1.3 that accepts a java value object as input parameter. The value object has some variables of java data type String and long. The .NET client sets the value for these variables and sends it as the input parameter to the java web service. When we c

RE: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-10-16 Thread Pantvaidya, Vishwajit
But then why is it not accepting the unwrapping flag for the default ADB binding for me. I thought the AXIS2_HOME setting was proposed as a solution for that. From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 16, 2007 9:12 PM To: axis-use

Re: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-10-16 Thread Amila Suriarachchi
On 10/17/07, Pantvaidya, Vishwajit <[EMAIL PROTECTED]> wrote: > > Hi Amila. > > > > Thanks, but one problem in this - my wsdl2java will run within the > framework of an Ant-based build system which will not have access to a > complete Axis2 installation i.e. so what would I set AXIS2_HOME to? Is i

Re: XMLBeans: get methods returns null

2007-10-16 Thread Amila Suriarachchi
On 10/16/07, robert lazarski <[EMAIL PROTECTED]> wrote: > > What version of axis2 are you using? If not using 1.3, try upgrading > to that if possible. This seems like an old bug. if error is there with axis2 1.3 please try with a nighly build. If you are using axis2 1.3, try pasting your code

Re: Axis 2 webservice in Weblogic 8.1 - SSLHandshakeException

2007-10-16 Thread Dimuthu
Hi, The exception says "No trusted certificate found". If the server certificate is not a widely accepted certificate, i.e. if it doesn't chain to one of the entries in JAVA_HOME/jre/lib/security/cacerts then you have to set some system properties as follows. System.setProperty("javax.net.ssl.tr

Using Amazon Web Service Java Library with Apache Axis2

2007-10-16 Thread Gia Hieu Dinh
Hi all, I'm looking for invoking the Amazon Web Service inside my Axis2 web service. Amazon provides a java library to connect to the web services. http://developer.amazonwebservices.com/connect/entry.jspa?entryID=880&ref=featured I have developed a standalone application with this library and it

Re: Axis 1.4 - (405) Method Not Allowed

2007-10-16 Thread foo shyn
Hi, Ya i asked and they told me that they don't see any log there, thus i only can rely on the information i get from my own log. Headache. Thanx FooShyn M N wrote: can u ask the other party if they see any error traces in their log? */foo shyn <[EMAIL PROTECTED]>/* wrote: Hi guys,

RE: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-10-16 Thread M N
Yes copy the lib files into the ANT classpath and you should be fine. "Pantvaidya, Vishwajit" <[EMAIL PROTECTED]> wrote:v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} st1\:*{behavior

Re: Axis 1.4 - (405) Method Not Allowed

2007-10-16 Thread M N
can u ask the other party if they see any error traces in their log? foo shyn <[EMAIL PROTECTED]> wrote: Hi guys, I'm new to the list, so pardon me if my question sounds dumb. I'm trying to connect to a third party web services (which is developed using microsoft tools) and i had used Axis 1.4

RE: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-10-16 Thread Pantvaidya, Vishwajit
Hi Amila. Thanks, but one problem in this - my wsdl2java will run within the framework of an Ant-based build system which will not have access to a complete Axis2 installation i.e. so what would I set AXIS2_HOME to? Is it not possible to just copy relevant jars into my build lib folder and get

Axis 1.4 - (405) Method Not Allowed

2007-10-16 Thread foo shyn
Hi guys, I'm new to the list, so pardon me if my question sounds dumb. I'm trying to connect to a third party web services (which is developed using microsoft tools) and i had used Axis 1.4 components to create my client. I got the stub generated and run it in my own servlet. However when i t

RE: How to tell JBOSS/AXIS to create WSDL on the fly with style=WRAPPING/LITERAL?

2007-10-16 Thread M N
Jeff Thanks for reply.appreciate it. This is how I have done my thing. I am new to WS so starting from WSDL seems tough. 1) I have a Java class which has a method getName(String idstring) 2) I run ANT JAVA2WSDL with STYLE = wrapped option. 3) This creates the WSDL file. 4)

RE: How to tell JBOSS/AXIS to create WSDL on the fly with style=WRAPPING/LITERAL?

2007-10-16 Thread Walker, Jeff
Ok, so I don't think that's right. Did you mean style="wrapped" ? Also, you can't tell the browser to format it as wrapped. The browser has no idea what 'wrapped' or 'document' or 'RPC encoded' means. Its just plain xml to a browser. Not sure what JBOSS allows, but I'm pretty sure it has no idea wh

How to tell JBOSS/AXIS to create WSDL on the fly with style=WRAPPING/LITERAL?

2007-10-16 Thread M N
I have installed java webservice on JBOSS using AXIS 1.4. I created the WSDL using ANT-java2wsdl tool. Using this tool I can specify the STYLE="WRAPPING". This works fine. But when the user creates the WSDL on the fly by pointing to browser http://100.11.8.330:8080/okayapp/CustAccountService.j

Axis 2 webservice in Weblogic 8.1 - SSLHandshakeException

2007-10-16 Thread Rajesh, Peter (CLAIMS, WIP)
Hi, I have deployed Axis 2 webserivce in Weblogic 8.1 server with SSL enabled and when I execute the simple java client to access the webservice below error is thrown Please help to resolve this issue. [java] org.apache.axis2.AxisFault: sun.security.validator.ValidatorException: No trusted ce

outstanding InstantiationException bug on MessageReceiver.newInstance() for MTOM Sample

2007-10-16 Thread Martin Gainty
Folks- org.apache.axis2.deployment.DescriptionBuilder loadMessageReciver method receiver = (MessageReceiver) messageReceiver.newInstance(); always causes InstantiationException looking for available patches for the InstantiationException bug on MTOM MessageReceiver discovered by jeff barrett in

Re: Problem with parameter SOAPAction

2007-10-16 Thread Charitha Kankanamge
Cedric Peyruqueou wrote: Hello, I'm trying to use axis with the axiom client to connect to a public web service, these are the information I have on this webservice: -- POST /webservicedemo/service.asmx HTTP/1.1 Host: www.dagorsoftwar

Re: [Axis2 1.2] Axis2 attachment interoperability???

2007-10-16 Thread Thilina Gunarathne
> But as for preserving the order of attachments, I don't think Axis2 > developers will consider this request. I think we do support that... Can you please double check and let us know whether it's broken. thanks, Thilina >You should not rely on the order of > the attachments. You should use some

Providing a custom schema for validation

2007-10-16 Thread Dimitris Mouchritsas
Hi again, I've written a couple of services using the RawXMLInOutReceiver, so my methods (operations) look like: public OMElement myOperation(OMElement xml) { // do stuff } I also managed to create my schema for the service and I'm validating by using a "new File(my_schema_file);" to read th

RE: Axis2: howto handle custom mustUnderstand Headers

2007-10-16 Thread ROSSILLE Samuel
Hi messageContext.getEnvelope().getHeader().examineAllHeaderBlocks() gives you an Iterator over all the SOAPHeaderBlock of the message hb.getMustUnderstand() tells you if a the SOAPHeaderBlock hb must be understood. hb.setProcessed() tells Axis that your program understands a the SOAPHeaderBlock

RE: Axis n00b needs help with an axis fault (internal to axis)

2007-10-16 Thread Horninger, Joe (Contr) (Mission Systems)
I kind of fell into an integration role, and for the service I'm using, there is a very specific log4j logger configuration. I will revisit this in the future, but right now, I don't have the time to look into this. From: Martin Gainty [mailto:[EMAIL PROTECTED

Re: axis question revisited

2007-10-16 Thread Chad DeBauch
This is the biggest headache with Axis2. Typically the only time you have to worry about the ClassLoader is when your classes need access to resources. If your jars do this and don't provide methods for passing a ClassLoader or don't provide a way to pass the resource, then you are forced to put

Re: Axis 1.4 and .NET interop

2007-10-16 Thread Martin Gainty
I wanted to find out my code on 2.1.3 distro WSDL2Java/WSDl2Code could not generate 'SERVER-SIDE' code a quick look at org.apache.axis2.wsdl.util.WSDL2JavaOptionsValidator states invalid = !(WSDL2JavaConstants.All_PORTS_OPTION.equalsIgnoreCase(optionType) || WSD

RE: Axis 1.4 and .NET interop

2007-10-16 Thread Walker, Jeff
Yes. My client is a .NET application. We use Doc/Literal-wrapped. My web service is hosted on WebSphere 6.1. (It uses IBM's home-grown implementation of the JAX-RPC standard. We are not using Axis on this project, but previous projects I was on used Axis 1.3 and had .NET clients. There were no issu

Axis2: howto handle custom mustUnderstand Headers

2007-10-16 Thread Andreas Schultz
Hi all, I need to handle custom header fields that have the mustUnderstand attribute set to true(1). Currently such an invocation triggers a fault: org.apache.axis2.AxisFault: Must Understand check failed for header : MyID Searching the maillinglist has turned up a references to a MustUnderstandC

RE: Axis 1.4 and .NET interop

2007-10-16 Thread M N
Jeff I am using WRAPPED/LITERAL style in WSDL. My question was about java specific objects. Have you been successful in integrating .NET client with axis 1.4 WS using the wrapped/literal approach ? MN "Walker, Jeff" <[EMAIL PROTECTED]> wrote: Anne means Document Literal Wrap

Re: Axis 1.4 and .NET interop

2007-10-16 Thread Dimitris Mouchritsas
Walker, Jeff wrote: Anne means Document Literal Wrapped style. Go here to see a good definition of the 4 major styles: http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/ The style we are advocating means you need to write XML Schema and place it into your wsdl file. Then you ru

Axis2 based Web Services Application Server, WSO2 WSAS 2.1 released

2007-10-16 Thread Deepal jayasinghe
Hi Folks, We are happy to announce the release of WSO2 Web Services Application Server (WSAS) 2.1, the enterprise ready Web services engine powered by Apache Axis2. WSAS is a Java runtime for hosting services & runs standalone or in conjunction with Apache Tomcat, IBM WebSphere, BEA WebLogic, JBos

RE: Axis 1.4 and .NET interop

2007-10-16 Thread Walker, Jeff
Anne means Document Literal Wrapped style. Go here to see a good definition of the 4 major styles: http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/ The style we are advocating means you need to write XML Schema and place it into your wsdl file. Then you run your wsdl file through

Re: Axis 1.4 and .NET interop

2007-10-16 Thread M N
Thanks Anne. when you say Java specific types I assume you talking about something like Collections,arraylists etc. So far I dont have anything like that. Anne Thomas Manes <[EMAIL PROTECTED]> wrote: Wrapped style is the way to go. But you still might encounter problems if your ser

Re: XMLBeans: get methods returns null

2007-10-16 Thread robert lazarski
What version of axis2 are you using? If not using 1.3, try upgrading to that if possible. This seems like an old bug. If you are using axis2 1.3, try pasting your code and wsdl and maybe someone can help. Robert On 10/16/07, Antonio Manuel Muñiz Martín <[EMAIL PROTECTED]> wrote: > Hi. > I´m usin

Problem with parameter SOAPAction

2007-10-16 Thread Cedric Peyruqueou
Hello, I'm trying to use axis with the axiom client to connect to a public web service, these are the information I have on this webservice: -- POST /webservicedemo/service.asmx HTTP/1.1 Host: www.dagorsoftware.com Content-Typ

RE: Problem with the sample AXIOMClient for StockQuoteService

2007-10-16 Thread Cedric Peyruqueou
Thank you very much for your help, I found my error, my version of ant was too old. Best Regards, Cédric -Message d'origine- De : Charitha Kankanamge [mailto:[EMAIL PROTECTED] Envoyé : mardi 16 octobre 2007 13:54 À : axis-user@ws.apache.org Objet : Re: Problem with the sample AX

Re: A little help on a newbie

2007-10-16 Thread Dimitris Mouchritsas
Deepal Jayasinghe wrote: Hi Dimitris , You may use Axis2 POJO rather than using Axiom directly. Then you can come up with the java bean with the required properties , after that you can use that as the method signature. If you do so Axis2 will generate the correct wsdl for you. Thanks Deepal

XMLBeans: get methods returns null

2007-10-16 Thread Antonio Manuel Muñiz Martín
Hi. I´m using XMLBeans data binding. I receive the response Document and I do Foo f = response.getFooResponse().getReturn(); Foo has an attribute named foo and f.getFoo() returns null, but f.toString() return a string which contains the correct xml (with foo attribute fixed). ¿Why f.getFoo() re

Re: Problem with the sample AXIOMClient for StockQuoteService

2007-10-16 Thread Charitha Kankanamge
Hi Cedric, No, jdk version is not an issue. I just checked this sample with jdk14 as well and did not get such an error. Can you unzip axis2-1.3-bin.zip in to a new directory in your file system and check again? regards Charitha Cedric Peyruqueou wrote: Hello Charitha, Thank you fo

RE: Problem with the sample AXIOMClient for StockQuoteService

2007-10-16 Thread Cedric Peyruqueou
Hello Charitha, I found my error; I had a too old version of ant. Thank you for your help. Best Regards, Cédric -Message d'origine- De : Cedric Peyruqueou [mailto:[EMAIL PROTECTED] Envoyé : mardi 16 octobre 2007 13:37 À : axis-user@ws.apache.org Objet : RE: Problem wit

Re: A little help on a newbie

2007-10-16 Thread Deepal Jayasinghe
Hi Dimitris , You may use Axis2 POJO rather than using Axiom directly. Then you can come up with the java bean with the required properties , after that you can use that as the method signature. If you do so Axis2 will generate the correct wsdl for you. Thanks Deepal > Hi everyone, I've started to

RE: Problem with the sample AXIOMClient for StockQuoteService

2007-10-16 Thread Cedric Peyruqueou
Hello Charitha, Thank you for your quick answer, the difference I can see with you is that I use a jdk 1.4 (I know it's old ;-)), do you think it can be the reason of the problem? Best Regards, Cédric -Message d'origine- De : Charitha Kankanamge [mailto:[EMAIL PROTECTED] Envoyé

RE: Soap Faults and Exception

2007-10-16 Thread Kahler, Jason J (US SSA)
I think I fixed it after making changes to my wsdl. I think my problem is that I was using the name ServiceException for to many Elements. _ From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 16, 2007 12:41 AM To: axis-user@ws.apache.org Subject: Re: Soap Faul

A little help on a newbie

2007-10-16 Thread Dimitris Mouchritsas
Hi everyone, I've started to use axis2 (version 1.2) for almost a month now and I'd like your help with deployment. Even though the service is up and working fine in my development environment I would like some advice before we need to deploy to the client. The messages I need to pass through, say

Re: Axis 1.4: WSDL2Java fails with ClassNotFound error for javax.wsdl.QName

2007-10-16 Thread Anne Thomas Manes
Go back and check your classpath again.. On 10/15/07, Gamble, Wesley (WG10) <[EMAIL PROTECTED]> wrote: > > > > > All, > > > > Trying to use WSDL2Java to generate some WS glue code and it fails with the > following exception: > > > > java org.apache.axis.wsdl.WSDL2Java > https://api.channeladvisor.

Re: Problem with the sample AXIOMClient for StockQuoteService

2007-10-16 Thread Charitha Kankanamge
Hello Cedric, I just retested Quickstartaxiom sample included in Axis2-1.3 binary distro(Winxp/jdk15). It worked out of the box when following the steps given in README. Did you follow the README.txt correctly? Also, the command you had issued, "build run.client" should be "ant run.client". r

Re: Axis 1.4 and .NET interop

2007-10-16 Thread Anne Thomas Manes
Wrapped style is the way to go. But you still might encounter problems if your service is exposing Java-specific types. Anne On 10/16/07, M N <[EMAIL PROTECTED]> wrote: > We have been using AXIS 1.1 ( yeah I know its old) for past few years with > Jboss and everythings looks fine.We have removed

Problem with the sample AXIOMClient for StockQuoteService

2007-10-16 Thread Cedric Peyruqueou
Hello, I’m a new user on axis and I’m trying to launch the sample program AXIOMClient I have obtain in the file axis2-1.3-bin.zip. But when I launch the command “build run.client” I have this error: “java.lang.ExceptionInInitializerError” It seems localized in t

WSDL2Java on WSRP WSDL fails

2007-10-16 Thread Nicolas Vahlas
Axis: Axis-1_3 or Axis-1_4 Java: JDK 1.6 or JDK 1.4 Ant: Apache Ant 1.6.5 When running the WSDL2Java ant task on the WSDL of the WSRP (Web Services for Remote Protlets) retrieved from OASIS along with all the files imported by this WSDL file, I get the following error: [axis-wsdl2java] java.l

Re: Java heap problems with Axis2

2007-10-16 Thread Lahiru Sandakith
Hi Matthew, No actually you have to inject the -Xms and -Xmx params to the java process that is being started in your os. if you have used the scripts in the bin directory of the Axis2 binary distribution you can edit and include these, in the final java commad where it start the java process (Ex:

Re: uploading a file

2007-10-16 Thread Philipp Leitner
Depending on the size of the text (!) file a simple String might do. /philipp Charitha Kankanamge schrieb: feh wrote: Hi folks. I've got an Axis2 client that needs to send a text file to an Axis2 server. What's the best way to accomplish this? Thanks! MTOM (SOAP message transmission an