transfer pars from client stub to transport pivot handler

2003-10-16 Thread Wolfram Ditzer
Hello Im creating a web service client with axis from a wsdl file. In client_deploy.wsdd I define a own Transport handler for http the class MyHttpSender. In my client stub class (class MyClientStub) I want to store some variables which should be used by the MyHttpSender. I thought I coul use th

Remove mustunderstand from header

2003-10-16 Thread Wolfram Ditzer
Hello, I want to remove the "soapenv:musUnderstand="0" from my SOAP header: http://optel.test.de/schemas/interface/"; xmlns:ns2="http://optel.test.de/interface";> 22051 I looked for threads regarding my question, but I didn´t find an answer. I´m creating a Header

Create a SOAP header

2003-10-14 Thread Wolfram Ditzer
Hello, I search for a (short) way to create a SOAP header from a class which represents a data type. The class itself was created by WSDL2Java. http://optel.test.de/schemas/interface/"; xmlns:ns2="http://optel.test.de/interface";> 21857 I need a object from SOAPHeaderElement to put it

Re: read id from SOAP header in response

2003-10-13 Thread Wolfram Ditzer
Thank you, I discovered functions like getHeaders() in my client stub-class? I expected thy would provide access to SOAP headers?! Bye Wolfram

RE: WSDL2Java Stub and Call objects

2003-10-11 Thread Wolfram Ditzer
Hello, my WSDL file does not contain a ... part. So I don´t get a MayAppServiceLocator.java which I can use to create an object which implements the MyApp interface. I can´t change the wsdl file, and I don´t want to recompile may client when location of service changes. I decided to use the S

read id from SOAP header in response

2003-10-11 Thread Wolfram Ditzer
Hello to all, I invoke a service on a server with a request message without any soap header, der reponse message has a soap header with a spefieid element, a transaction id. How do I read the header or elements in it from a response message? Thanks Wolfram

deserializer not found

2003-10-10 Thread Wolfram Ditzer
Hello I had a similar prooblem and I got a hint which helped me: Problem was that Axis tried to deserialize an arry with a BeanDeserializer. Solution: Move array type definition from ... into type definitions where the array is used: . May be this

WSDL2Java Stub and Call objects

2003-10-10 Thread Wolfram Ditzer
Hello, I use a wsdl2java to generate client classes. I also get a MyServiceStub.java, which prvides a interface to my webservices. When I look into this list and a lot of example I see nearly nno one using ths Stub-classes. Instead all people uses Call objects created by a Service object. Sho

client_deploy.wdd & Transport Mechnismus

2003-10-10 Thread Wolfram Ditzer
Hi, I do not understand the client_deploy.wsdd. In samples/transport I do not see that client_deploy.wsdd is used! 1. How do I use it? I want to change the transport classes of my client. Service service = new Service(); MyWebServiceStub myServer = new MyWebServiceServerStub(url, service); 2.

Re: SAXException deserializing a response

2003-10-09 Thread Wolfram Ditzer
dump out the execution path before I could figure out what was going on. Hope it helps! LMK if it does or doesn't. If we create enough stir over this we might get one of the committers to commit the patch! Cheers. Steve Maring --- Wolfram Ditzer <[EMAIL PROTECTED]> wrote:

WSDL generated client: change Transport method

2003-10-08 Thread Wolfram Ditzer
Hello, I use classes created by WSDL2Java an d wsdl file. My aim is to build a client for a web service. String serviceName = ... Url myAppUrl = ... Service service = new Service(); MyAppServerStub myAppServer = new MyAppServerStub(myAppUrl, service); myAppServer.setPortName(serviceName);

Re: wsdl2java generated client transport method

2003-10-08 Thread Wolfram Ditzer
(); sometimes u need to add some handlers/chains and services in the client side. so u need client deploy wsdd. see the exaple axis-1_1\samples\transport-client deploy. regards vtpavan - Original Message - From: "Wolfram Ditzer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTE

Re: wsdl2java generated client transport method

2003-10-08 Thread Wolfram Ditzer
deploy. regards vtpavan - Original Message - From: "Wolfram Ditzer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 08, 2003 12:05 PM Subject: wsdl2java generated client transport method Hello, I use classes created by WSDL2Java an d wsdl file.

SAXException deserializing a response

2003-10-08 Thread Wolfram Ditzer
Hello I use a WSDL2Java generated Client for a webservice. I succeed in requesting a service, but my client can not parse the response. I get a Exception: org.xml.sax.SAXException: Invalid element in optel.ws.test.schemas.aaa.User - user at org.apache.axis.encoding.ser.BeanDeserializer

wsdl2java generated client transport method

2003-10-07 Thread Wolfram Ditzer
Hello, I use classes created by WSDL2Java an d wsdl file. My aim is to build a client for a web service. String serviceName = ... Url myAppUrl = ... Service service = new Service(); MyAppServerStub myAppServer = new MyAppServerStub(myAppUrl, service); myAppServer.setPortName(serviceName); DataT