wsdl2java generated client 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);

FW: WS-Security UsernameToken code

2003-10-08 Thread Sanjesh Pathak
I am resending the code as the code I had sent previously has a compilation error. I had modified the code and forgot to compile it. Here is the latest one. Sorry for that. Sanjesh -Original Message- From: Sanjesh Pathak [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 3:33

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

Re: wsdl2java generated client transport method

2003-10-08 Thread vairamuthu thayapavan
hi u can create call object using Service service = new Service(); Call call = (Call) service.createCall(); 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

Stub class

2003-10-08 Thread Alex Chen
I am using the code in samples/jaxrpc/hello as a template to build my service. In HelloClient, it uses the following code to get a service stub: String UrlString = http://localhost:8080/axis/services/HelloPort?wsdl;; String nameSpaceUri = http://hello.jaxrpc.samples/;;

Re: wsdl2java generated client transport method

2003-10-08 Thread Wolfram Ditzer
Hello does I understand it correctly. I can do following, to change the transport method of a web service request created by my MyServerStub? String serviceName = ... Url myAppUrl = ... Service service = new Service(); MyAppServerStub myAppServer = new MyAppServerStub(myAppUrl, service);

Re: wsdl2java generated client transport method

2003-10-08 Thread Wolfram Ditzer
Hello I forgott something: How does the client get notice from client_deploy.wsdd I don´t see what I should do with the client_deploy.wsdd file!? Bye Wolfram vairamuthu thayapavan wrote: hi u can create call object using Service service = new Service(); Call call = (Call)

RE: Axis doc/lit - impossible?

2003-10-08 Thread Davanum Srinivas
The Best Use case for doc/lit that Axis 1.1 supports is when you start with an existing WSDL and run WSDL2Java on it and use the generated code. If you have problems with this, open up a bug report with sample code. Thanks, dims --- Mike Perham [EMAIL PROTECTED] wrote: That's been our

RE: Axis doc/lit - impossible?

2003-10-08 Thread Davanum Srinivas
I repeat myself... The Best Use case for doc/lit that Axis 1.1 supports is when you start with an existing WSDL and run WSDL2Java on it and use the generated code. If you have problems with this, open up a bug report with sample code. Thanks, dims --- Cory Wilkerson [EMAIL PROTECTED] wrote:

RE: Axis doc/lit - impossible?

2003-10-08 Thread Anne Thomas Manes
Dims, Perhaps the team's assessment of the desired use cases for doc/literal was a bit too limited. java2wsdl should be capable of generating a doc/literal WSDL definition from a Java class. Thanks, Anne At 02:48 AM 10/8/2003 -0700, you wrote: I repeat myself... The Best Use case for doc/lit

RE: Axis doc/lit - impossible?

2003-10-08 Thread Davanum Srinivas
java2wsdl works too (maybe a bit flaky)...In Axis terms, you need to use the wrapped mode. See http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/Wrapped. The WHOLE confusion is because have a flag -y in java2wsdl that can take DOCUMENT/WRAPPED/RPC. DOCUMENT here means that the the

Antwort: RE: Axis doc/lit - impossible?

2003-10-08 Thread Oliver Wulff
I had the same problem with document/literal and raised the bug 21824. Hope, it will be fixed soon, because I have to manually fix the namespaces in the generated code. Oliver ** Oliver Wulff Zürich Versicherungs-Gesellschaft

Re: Antwort: RE: Axis doc/lit - impossible?

2003-10-08 Thread Davanum Srinivas
Oliver, is this a duplicate of http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20054? -- dims --- Oliver Wulff [EMAIL PROTECTED] wrote: I had the same problem with document/literal and raised the bug 21824. Hope, it will be fixed soon, because I have to manually fix the namespaces

New Article on Web Service Styles and Uses

2003-10-08 Thread Kellogg, Richard
http://www.javaworld.com/javaworld/jw-10-2003/jw-1003-wsstyles_p.html

Question re: Serializer.writeSchema and xsd docs

2003-10-08 Thread West, Robert
I'm trying to figure out exactly how to use the new writeSchema(Class cls, Types types). I already have an xsd document that is intended to be used in other places, however all the examples I've been able to find so far relate to creating the schema in code in the writeSchema method using the

handler's init function not called at time of Tomcat startup

2003-10-08 Thread Agarwal, Naresh
Hi I'm using a handler in Web Service written using Axis for session maintenance. Inside the init function of this handler, i'm loading some classes as I want to load these classes at the time of start up of Tomcat.. After deploying the service, when I start Tomcat, init function of

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);

Sample message style code for void method(SOAPEnvelope request, SOAPEnvelope response)

2003-10-08 Thread Igor Khurgin
I am new to axis development and am looking for some sample code that utililzes message style signature: public void method(SOAPEnvelope request, SOAPEnvelope response) Inside the method I will be looking at SOAP headers and building XML response. Any pointers will be greatly appreciated. Igor

RE: java.lang.reflect.InvocationTargetException.

2003-10-08 Thread Szllosy Balzs
What is the version of the Tomcat's JRE ? Try it with 1.4.1 at least. That helped me in a similar situation. BR Balazs Sorry I forgot... Tomcat 4.1.27 (win2000) Axis 1.1 win 2000 I'm also trying to call a back end EJB container from the servlet. cheers. Hi, thanks everyone

time alive of a web service object

2003-10-08 Thread Wermus Fernando
Do we have an instance for each call to the web service or it stays alive since the first call? I need to know this because, may be I need 'synchronized' methods. Bye!

Re: time alive of a web service object

2003-10-08 Thread Stephen Gordon
i don't know, i think it's pretty easy to find this out though stephen Wermus Fernando wrote: Do we have an instance for each call to the web service or it stays alive since the first call? I need to know this because, may be I need 'synchronized' methods. Bye!

String Length

2003-10-08 Thread Cory Cobler
Is there a max string length when dealing with axis??? -Original Message- From: Stephen Gordon [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 9:03 AM To: [EMAIL PROTECTED] Subject: Re: Authentication Authorization Implement your own handlers. I've got users and groups

FW: String Length

2003-10-08 Thread Cory Cobler
Is there a max string length when dealing with axis???

RE: Axis doc/lit - impossible?

2003-10-08 Thread Mike Perham
Your wish is my command: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23677 -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 11:09 AM To: [EMAIL PROTECTED] Subject: RE: Axis doc/lit - impossible? how about a bug report? or a

RE: java.lang.reflect.InvocationTargetException.

2003-10-08 Thread giuseppe sarno
Hi one more thing, I checked the examples and they work fine. It seems that the my SOAPImpl class in creating a class which it cannot be found on tomcat. (I also notice there is a bug report on this basically the client receive the exception I receive when a class is not found) This is the

Re: couple of questions

2003-10-08 Thread Ilja
Anyone? On Tue, 07 Oct 2003 21:09:45 +0200, Ilja [EMAIL PROTECTED] said: Ok thanks, so if I understand correctly, I first have to use java2wsdl to generate a wsdl file from my interface-class and then I have to run wsdl2java to generate those classes from my wsdl file? Isn't there a solution

Deserializer not found

2003-10-08 Thread Vikas Phonsa
Hi Guys, I'm using webservices to transfer data to a server (Siebel) and I wrote the client application using Axis. It was working perfectly till 2 days ago when an upgrade was made on the destination server. Data is still being transmitted and SOAP response indicated things are fine but now I'm

Re: Collection Passing from Java to C#

2003-10-08 Thread Rupesh Sharma
Hi James, Can u send me a code snippet of what u did. RupeshJames Black [EMAIL PROTECTED] wrote: Rupesh Sharma wrote: Can I modify the BeanSerializer.java used by Axis to do bean serialization to change the collection into an array before converting it into xml.You can write your own

deserializer not found

2003-10-08 Thread Edwin Litterst
Hi, I am getting the following exception from a call: No deserializer defined for array type {http://namespaces.soaplite.com/perl}DocumentID The returned soap data is: ... familyMembers xsi:type=SOAP-ENC:Array SOAP-ENC:arrayType=DocumentID[1] DocumentID xsi:type=namesp2:DocumentID

RE: deserializer not found

2003-10-08 Thread Vikas Phonsa
Hey Edwin, I'm being bugged by almost the same problem man. I have read all the related archive messages but couldn't find what's going wrong with my code. Actually my data transfer webservice was working perfect for last many months. But broke down 2 days ago when an update was made on the

RE: Stub class

2003-10-08 Thread Alex Chen
Will there be a bug open against this problem? -Original Message- From: Gary L Peskin [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 9:17 AM To: [EMAIL PROTECTED] Subject: RE: Stub class It looks to me like the default URL built into the HelloWorldLocator comes

Attachment program using DIME

2003-10-08 Thread Koichi Kokura
Hi Guys, (B (BI'm trying to implement file attachment program using DIME in Axis. (BI have found sample web page(Japanese) about DIME and I tried to it, (Bhttp://www.atmarkit.co.jp/fdotnet/special/wse04/wse04_04.html (B (BBut Follow message appeared, I can not success to implements. (BMaybe

RE: Attachment program using DIME

2003-10-08 Thread Rick Kellogg
Please refer to the following: http://www.mail-archive.com/[EMAIL PROTECTED]/msg08732.html http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/DotNetInte rop Rick -Original Message- From: Koichi Kokura [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 6:59 PM To: