RE: Don't understand how to deploy my web service
Title: Message I modified an exisiting WSDD file which I felt was the quickest way to get it running. Please ensure you have typeMapping entries for complex objects. -Original Message-From: Rhimbo [mailto:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 2:49 PMTo: Axis usersSubject: Don't understand how to deploy my web service Hi all,Sorry if my question is similar to others. I haven't found my answer quite yet.I developed a Java file to define my web service. I ran Java2WSDL and created a WSDL file. Now I am having trouble deploying it.I've been reading the AXIS user's guide but am very confused. I cannot use the .jws method to deploy a simpel web service.First question: what is the simplest alternative? Do I need to generate a WSDD file? Second question: how do I do this? I ran the WSDL2Java command and it generated a bunch of files in a DefaultNamespace directory. Is this the right approach? What do I do with these files? I noticed that the .java files generated by the WSDL2Java command contain interfaces that extend java.rmi.Remote. My original Java source that I wrote does not extend Remote. Is this a problem?I'm very confused. Many thanks. Yahoo! MailBring photos to life! New PhotoMail makes sharing a breeze. The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.
Element tag before complex type
Title: Element tag before complex type I created WSDL1 using Axis and it works fine. However, the Weblogic scripts (it seems) need an xsd which looks like the one in WSDL2. Are these two WSDLs different because of the element tag ? How to create such a WSDL ? WSDL1 wsdl:types schema targetNamespace=http://mytarget.com xmlns=http://www.w3.org/2001/XMLSchema import namespace=http://schemas.xmlsoap.org/soap/encoding/ / complexType name=MyComplexObject WSDL2 wsdl:types schema targetNamespace=http://mytarget.com xmlns=http://www.w3.org/2001/XMLSchema import namespace=http://schemas.xmlsoap.org/soap/encoding/ / s:element name=MyComplexObject complexType Thanks in advance.
RE: client for document-style WebService
There is a Junit file that's generated ServiceNameTestCase.java. That can act as a client for unit testing. A similar class can be created to act as the real client. - Ashish -Original Message- From: Carmine Gargiulo [mailto:[EMAIL PROTECTED] Sent: Friday, October 14, 2005 6:08 PM To: axis-user@ws.apache.org Subject: Re: client for document-style WebService ok ...but wsdl2java has generated various .java, i've compiled all. It's ok. Nowwhat generated file is the client???
Dynamic URL in Service Locator
A Web Services client in a production environment will require to point to different WSDL URL locations based on a application configuration file. However, the WSDL2Java generated ServiceLocator has a hardcoded URL and is stored in a jar. Is there any Axis feature that allows a client side URL configuration file ? Thanks, Ashish
RE: Dynamic URL in Service Locator
https://bpcatalog.dev.java.net/nonav/soa/client-url-binding/ I do not know if Axis inherently allows externalization of WS client binding. But the above link provides some solutions. cheers, Ashish