AW: java2wsdl, handlers and headers?

2005-08-09 Thread Dorner, Thomas
Hi,   as far as I know there is no spec. for wsdl which define something like that! So there is no definition to that!   Do you also write an clienthandler to put the usernametoken in the soapheader? Is it possible to take a look at your clienthandler where you put the usernametoken back to

Re: Change the Port that Axis Service runs as

2005-08-09 Thread Joachim Goetze
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, James Wilson wrote: > > Quoting Joachim Goetze <[EMAIL PROTECTED]>: > > > Hi, > > if I am not mistaken the Web.XML is part of the Tomcat-Config. So the > > >> web.xml is part of your application. It is not part of the container >> configura

Hello Program (newbie)

2005-08-09 Thread john
Hi: I am trying to run the TestClient program. What I do not know is what to set the fields to for the following two lines: (when I add axis to the path, I get the same result) String endpoint = "://http://localhost:8080/";; call.setOperationName(new QName("http://localhost:8080/";, "echoString"

Axis mail transport question

2005-08-09 Thread Ivan Velez
Hello, Does anyone have a sample of using Axis' mail transport? Thanks, -Ivan > Please ask on the dev mailing list. > > thanks, > dims > > --- Ivan.Velez wrote: > >> Hello, >> >> I am writing to you since you are the authors of the mail transport >> functionality included with Axis according to

Re: ArrayStoreException on Oracle Application Server

2005-08-09 Thread Xin Zhang
Hi All, The log file for this is: 2005-08-09 16:28:07 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.lang.ArrayStoreException faultActor: faultNo

ArrayStoreException on Oracle Application Server

2005-08-09 Thread Xin Zhang
Hi All, > I use WSDL2Java to generate stub for web service. It works fine on OC4j 9.0.4.0.0.(Java Version 1.4.2_08), however, after we move all web services to Oracle Application Server 10g, Version 10.1.2.0.0 and deployed there. We got "java.lang.ArrayStoreException" when we call an API that

RE: Axis 1.0 Bug with Wrapped Documents??

2005-08-09 Thread Hoying, Ken
Title: Axis 1.0 Bug with Wrapped Documents?? I noticed that the getNetDocumentReturn in the response does not have a namespace listed.  Could that be the issue and if so any ideas why I am not seeing one?     -Original Message-From: Hoying, Ken Sent: Tuesday, August 09, 2005 1:1

Axis 1.0 Bug with Wrapped Documents??

2005-08-09 Thread Hoying, Ken
Title: Axis 1.0 Bug with Wrapped Documents?? I have created a wrapped document literal web service in Axis.  The service seems to make the call correctly from the client.  The server is invoked and does return data to the client (I know this from the TCPMonitor utility).  However, the call i

Complex data types

2005-08-09 Thread Mayer, Roland
Hi Everyone,   can anybody please help me with that issue:   I want to use Axis wsdl2java tool. The wsdl file is attached. The source code is getting generated, but at runtime i get an exception. I have test cases for all the methods that i am using. They all work except the one called get

java2wsdl, handlers and headers?

2005-08-09 Thread Bell, Douglas
Hello Everyone,   I have implemented the Oasis Web Services Security UsernameToken Profile as a handler that intercepts incoming request and processes the security information in the header. Is there a way to have java2wsdl insert the required header data into the WSDL or am I stuck doing i

Re: AXIS 1.2 problem

2005-08-09 Thread Alan Au
Thanks for your solution. What about using the following in the client code?  TypeMappingImpl.dotnet_soapenc_bugfix = true; Regards,   AlanAnne Thomas Manes <[EMAIL PROTECTED]> wrote: You need to add this parameter to your client.config:On 8/9/05, Alan Au <[EMAIL PROTECTED]>wrote:> Dear all,> > I g

faultString: (411)Length Required

2005-08-09 Thread Aleksander Pascoal
Guys, I can't get CommonsHttpSender to work. I'm always receiving the following message: AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (411)Length Required faultActor: faultNode: faultDetail: {}:return code: 411 I need to use it because I'm beh

Unexpected attributes? Please help.

2005-08-09 Thread Mayer, Roland
I want to generate Java code with the WSDL2Java tool. The wsdl file is listed below and attached to my email I just upgraded to axis1_2_1 and get the following error when i try to run the wsdl2java tool: WSDLException (at /definitions/binding/operation[1]/input): faultCode=3DINVALID_WSDL: Elem

Re: stumped on deserializer problem

2005-08-09 Thread pietila . meghan
Sounds great, Thad! I'm currently stuggling with the custom (de)serialization-within-custom-(de)serialization problem, so I'll appreciate your writeup if I don't get it working first! Meghan Pietila Granite Consulting On Tuesday 08 August 2005 17:49, [EMAIL PROTECTED] wrote: >Bingo! I've cra

RE: WSDL after deployment

2005-08-09 Thread Anthoni Tom
Hi!   Thanks!  We can see the WSDL now…   Regards, Tom Anthoni   From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: dinsdag 9 augustus 2005 13:18 To: axis-user@ws.apache.org Subject: Re: WSDL after deployment   thanks it was a bug , I juts fixed that take an updat

RPCProvider Subclass fails on Hot-Deploy

2005-08-09 Thread James Wilson
I have subclassed the RPCProvider per the experiences in this thread: http://marc.theaimsgroup.com/?l=axis-user&m=110849155828238&w=2 My build process creates the server-config.wsdd via build.xml entry: http://localhost:8080/myservice/servlet/AxisServlet. Is anyone experiencing this? org.apac

Axis 1.2.1: WSDL2Java generates strange code for Exceptions

2005-08-09 Thread Tom
Hi all I want to throw an application exception that behaves like a normal java.lang.Exception, i.e. where getMessage() gets the error message and toString() returns a properly formatted string representation of the exception. Therefore I defined an exception that extends java.lang.Exception, gene

RE: WSDL Error

2005-08-09 Thread Hoying, Ken
Yep! That was it. Too many new technologies for me at one time :-) Thank you! -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 09, 2005 8:12 AM To: axis-user@ws.apache.org Subject: Re: WSDL Error You have a namespace problem. You've defined you

RE: server-config.wsdd

2005-08-09 Thread Hoying, Ken
Thank you. That is the approach I will take then. Thanks, Ken -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 09, 2005 8:20 AM To: axis-user@ws.apache.org Subject: Re: server-config.wsdd I believe you need two different service names. You want

MTOM support for latest source

2005-08-09 Thread MacKenzie, Christopher C
I have run into a problem when using the latest axis2 source implementing the mtomSample service. I was previously able to run the MTOM sample when using the 0.9 release tree. The error I encounter is: org.apache.axis2.AxisFault: HTTPOutTransportInfo does not set; nested exception is: org.apach

Re: server-config.wsdd

2005-08-09 Thread Anne Thomas Manes
I believe you need two different service names. You want to use the java:RPC provider for both services. The java:RPC provider automatically does the XML to java mapping for you. You only use the java:MSG provider if you intend to process the SOAP message (as XML) programmatically. Anne On 8/8/05

getting WSDL after deployment

2005-08-09 Thread Jyrki Saarinen
Hello all, I have succesfully deployed a Web Service with Axis. However, when I try to get the WSDL that the service implements by adding "wsdl" to the query string, I get the following: URL: http:/server.com/service/SOAP/OperationName?wsdl Output: AXIS error Sorry, something seems to have

Re: WSDL Error

2005-08-09 Thread Anne Thomas Manes
You have a namespace problem. You've defined your elements in the apachesoap namespace (http://xml.apache.org/xml-soap), but you're trying referencing them by the intf namespace (http://dsv.tiaacref.org). Anne On 8/8/05, Hoying, Ken <[EMAIL PROTECTED]> wrote: > > > I am getting the following e

Re: WSDL after deployment

2005-08-09 Thread Deepal Jayasinghe
not it should work I fixed that.   Thanks, Deepal~Future is Open~     - Original Message - From: Anthoni Tom To: axis-user@ws.apache.org Sent: Tuesday, August 09, 2005 6:06 PM Subject: RE: WSDL after

RE: WSDL after deployment

2005-08-09 Thread Anthoni Tom
Hi,   We stil have an error… This time it’s a little different:     This Web service has deployment faults Error: org.apache.axis2.deployment.DeploymentException: null; nested exception is: java.lang.ClassCastException at org.apache.axis2.deployment.repository.util.ArchiveReader.crea

Re: Change the Port that Axis Service runs as

2005-08-09 Thread James Wilson
Quoting Joachim Goetze <[EMAIL PROTECTED]>: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > if I am not mistaken the Web.XML is part of the Tomcat-Config. So the web.xml is part of your application. It is not part of the container configuration. Unless you look at it from the pe

Re: how to implement an Axis Message-Style service that has multiple operations

2005-08-09 Thread Anne Thomas Manes
You also need to provide descriptions to map the message QNames to the appropriate method name. Anne On 8/9/05, The Hoa Nguyen <[EMAIL PROTECTED]> wrote: > > Hi all, > > If anyone know how to implement an Axis Message-Style service that has > multiple operations, please share me your exper

Re: Webservice over Basic Authentication

2005-08-09 Thread James Wilson
Quoting "Jonathan J. Vargas R." <[EMAIL PROTECTED]>: > Hi, > > I did this: > > public class Main { > public static void main (String[] args) { > try { > EchoImpServiceLocator sl = new EchoImpServiceLocator (); > EchoImp service = sl.getEcho (); > > ->((org.ap

Re: elaborate example on axis2

2005-08-09 Thread James Wilson
I don't have it in front of me now, but if memory serves me correctly the one .class file produced by that script should be in the src/schema directory. I copied that over to my build directory maintaining package-folder relationship. I'll point out that my steps were to create an ANT build.xml b

Re: no SOAPAction header!

2005-08-09 Thread Anne Thomas Manes
Check your classpath and make sure you are using the right jars... On 8/9/05, richard falconer <[EMAIL PROTECTED]> wrote: > Hi, > Still getting the exception being thrown. > > The following lines of code were already in the stub, created by the > wsdl2java: > _call.setUseSOAPAction(true); > _cal

Re: AXIS 1.2 problem

2005-08-09 Thread Anne Thomas Manes
You need to add this parameter to your client.config: On 8/9/05, Alan Au <[EMAIL PROTECTED]> wrote: > Dear all, > > I got the following error when I try to run an AXIS > client upon the public web service on xmethods.net, > using AXIS 1.2. I can run the same program when I am > still using AXIS

Re: WSDL after deployment

2005-08-09 Thread Deepal Jayasinghe
thanks it was a bug , I juts fixed that take an update and see whether it is working   Thanks, Deepal~Future is Open~     - Original Message - From: Anthoni Tom To: axis-user@ws.apache.org Sent: Tuesday,

RE: WSDL after deployment

2005-08-09 Thread Anthoni Tom
Here’s the error: This Web service has deployment faults Error: org.apache.axis2.deployment.DeploymentException: null; nested exception is: java.lang.ClassCastException at org.apache.axis2.deployment.repository.util.ArchiveReader.createService(ArchiveReader.java:107) at org.apache.axis2.d

AXIS 1.2 problem

2005-08-09 Thread Alan Au
Dear all, I got the following error when I try to run an AXIS client upon the public web service on xmethods.net, using AXIS 1.2. I can run the same program when I am still using AXIS 1.1. I understand that in AXIS1.1, it will by default use "xsd" as the encoding style for data while in AXIS 1.2,

Re: no SOAPAction header!

2005-08-09 Thread richard falconer
Hi, Still getting the exception being thrown. The following lines of code were already in the stub, created by the wsdl2java: _call.setUseSOAPAction(true); _call.setSOAPActionURI(""); ta, Richard > Check your client side BindingStub.java for call.setUseSOAPAction(true) > and call.setSOAPActionU

how to implement an Axis Message-Style service that has multiple operations

2005-08-09 Thread The Hoa Nguyen
Hi all,   If anyone know how to implement an Axis Message-Style service that has multiple operations, please share me your experience.   E.g, the sample Message-style service from the Axis pack, has the following WSDD:   http://xml.apache.org/axis/wsdd/"     xmlns:java="http://xml.apache.o

call.setTransportinfo

2005-08-09 Thread Anthoni Tom
Hello,   We’re trying to invoke a non-blocking asynchronic webservice, based on the EchoNonBlcokingDualClient-example. When we set call.setTransportInfo(Constants.TRANSPORT_HTTP, Constants.TRANSPORT_HTTP, true), The client sends the right SOAP-header structure (we need ws-addressing for

Re: WSDL after deployment

2005-08-09 Thread Deepal Jayasinghe
can you please tell me the error that you got when you put the service.wsdl inside /META-INF   Thanks, Deepal~Future is Open~     - Original Message - From: Anthoni Tom To: axis-user@ws.apache.org Sent: T

RE: WSDL after deployment

2005-08-09 Thread Anthoni Tom
Thanks for the reply, but I’ve allready tried that… (by the way, when you place the wsdl in the META-INF-folder you get an error, when you place it in the root of the .aar, you get just nothing)   Kind regards, Tom Anthoni   From: Thilina Gunarathne [mailto:[EMAIL PROTECTED]

Problems undeploying a service and with SOAPMonitor

2005-08-09 Thread Juan Cervera
Hi all,   Does anybody know why I get the following error when I try to undeploy my services? I'm using Axis 1.2.1 final on WAS 5.0.2.12   Exception: AxisFault faultCode: {http://xml.apache.org/axis/}Client faultSubcode:  faultString: No such operation 'undeployment' faultActor:  faultNod