WSDL2Java error

2006-04-20 Thread Dink
Hello all, I have created a WSDL for a web service called "WS017". The WSDL is put on http://mis.ccu.edu.tw/~dink/WS017.wsdl. However I can't use the Axis WSDL2Java tool to produce the stub for this service. Can somebody help me to check if the WSDL is error? Anyone can use the command line

[axis2] xml schema location in servicearchive

2006-04-20 Thread donnerdrummel2000-mailing
Hi, how can i use a relative pathlocation for a schema import in a wsdl wich is in service archive under META-INF directory. trying to place the schema under META-INF as well, axis2 trys to find this under a absolute path defined as one of the tomcat classpath location (i think so...). so is

Re: string attribute problem

2006-04-20 Thread Recep Ayaz
Hi, RobertHowever i exceed that error. My web service working.I can its name on the axis list page also i axis generate wsdl file for that service.but in test step, i am sending a soap client but web service does not answer to me. I can see request soap message at SOAP Monitor but the response not

writing web service

2006-04-20 Thread Recep Ayaz
Hello, I am a new developer in axis and web services. i am writting a web service with java,axis 1.3,tomcat for OTA (http://www.opentravel.org/). i want to discuss about my web service project.The service has a lot of standart and strcuture. it has very complex xml structure. first off all i

[Axis2] Create WAR- installation

2006-04-20 Thread Mancinelli Elodie
Hello, My problem become when I want to create WAR in Axis 2 0.95 installation. /war: [echo] MODULES= [echo] Copy2Dir=target/temp/war/lib [echo] Fetching Dependencies for modules:

How about the interoperability between AXIS and MS WSE 2.0 ?

2006-04-20 Thread ajax chelsea
Can AXIS full understand the SOAP message generated by MS WSE 2.0? such as the ReplyTo field?

Re: Can you default the SOAPAction as being ?

2006-04-20 Thread robert lazarski
I was hoping for someone to jump in and quote the spec ;-) . All I said was I've never seen Doc / lit wsdl without a soap action . Actually I had some problems with Axis2 with a for a soap action throwing Operation Not found for which I created this jira:

Re: WSDL2Java error

2006-04-20 Thread Dies Koper
Hello Dink, Maybe you can use www.ws-i.org's WS-I test tool to check your WSDL. 1. The target name of your schema (http://www.ifxforum.org;) should be the same as the namespace (now urn:ifxforum-org) you specify in the xsd:import. 2. The names of the wsdl:input elements (tns:DoIFXRqMsg and

Deploy a web service with .wsdl and java files

2006-04-20 Thread Gorka López
Hello, I know how to deploy a web service in axis with the .wsdd file (java org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd) But I want to deploy a web service with the java files and the wsdl file: Is it possible??How is it possible?? Thanks.

Deploy a web service without wsdd (with wsdl and java classes) in Axis

2006-04-20 Thread Gorka López
Hello, I know how to deploy a web service in axis with the .wsdd file (java org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd) But I want to deploy a web service with the java files and the wsdl file: Is it possible??How is it possible??If it is

Re: string attribute problem

2006-04-20 Thread robert lazarski
Seems you've used java2wsdl to create your wsdl, yet I'm seeing lots of warnings when validating it. Strange. Try to find a wsdl validator and work through the warnings. In particular, I don't see a matching element defined in your schema for uygulama2Method , and although the spec says its not

Re: Can you default the SOAPAction as being ?

2006-04-20 Thread Justin Schoeman
Axis2 no longer reports an EPR not found error - it just assumes the wrong operation to be performed... Tried to file a JIRA, but connection timed out, and threw away 15minutes of typing, so gave up ;-) . -justin robert lazarski wrote: ... As a side note, I'll test the latest svn for axis2

BeanInfo broken in Axis2 v0.95?

2006-04-20 Thread Florian Leibert
Hi, I am currently working with Axis2 v. 0.95 and discovered that Axis2 seems to ignore BeanInfo Classes when generating the WSDL file. Let's say I have for a given entity, Entity and EntityBeanInfo in the same package, Java2WSDL seems to use introspection without ever entering the

pblms with axis on JES8.0

2006-04-20 Thread William kane
Hi, I get this error when try to deploy axis on JES 8.0 [#|2006-04-20T18:57:32.201+0530|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=17;|WebModule[/axis]Error configuring application listener of class

AxisFault - java.net.SocketException: Default SSL context init failed: null

2006-04-20 Thread Sandip Wadkar
Hi, Please give me pointers because I am not sure where I am going wrong when trying to invoke Axis webservice Over SSL. Here is the exception whereI got stuck with- AxisFault - java.net.SocketException: Default SSL context init failed: null Appreciate any pointers or help. Thanks and

Re: Having problem in-only operation calling through stub

2006-04-20 Thread kensky
Hi Gopal, I am using WSDL2Java for java code generation. There are some methods which takes and returns values, and there are some which doesnot take and some doesnot recieve.In my case I have method void updateDocument(String docName, String docCont) defined in wsdl. After the code generation

RE: Can you default the SOAPAction as being ?

2006-04-20 Thread kensky
I had a similar problem while client calling. In my scenario there were many methods which reuses complex types and I used as soap action. On the client side axis throws exception of EPR and WSA conflict. So, I simply changed every operations action :) to unique name. Now its working fine. I

RE: Can you default the SOAPAction as being ?

2006-04-20 Thread Joshua . White
My problem is more simple... The client that is calling my service is not specifying the SOAPAction at all. I am using rpc/lit. All of the SOAPActions specified in my WSDL are . Empty should not be a problem. Because the client (which is not under my control) is not specifying a SOAPAction, axis

RE: Deploy a web service without wsdd (with wsdl and java classes) in Axis

2006-04-20 Thread Craig Fournier
You can add a service stanza inside server-config.wsdd of your application so that your java code gets loaded at the time your application and server are started. Of course, your java class files must be available at load time. Craig Fournier -Original Message-From: Gorka López

Re: Server.userException and InvocationTargetException - what does it mean?

2006-04-20 Thread robert lazarski
I agree with dies - just one small caveat. I use hibernate with axis quite a bit: You can use xs:dateTime with java.util.Calendar - its pretty easy to get from there to java.util.Date . Some databinding frameworks - JWSDP for example - supportjava.util.Date directly. The way I use Hibernate

[Axis2] issue with stub that is generated using WSDL2Java ( in release 0.95)

2006-04-20 Thread Mar, Kheng Kok
I would like to point out a few issues regarding the WSDL2Java code generation : 1. the stub generated has the following code fragments: public returnType operation1(ParamType param2) throws java.rmi.RemoteException{ org.apache.axis2.client.OperationClient _operationClient =

RE: [Axis2] WSDL2Java problem with schema include

2006-04-20 Thread Mar, Kheng Kok
The WSDL2Java have problem with schema include (that is a schema INCLUDE additional schema into the same target namespace, not schema IMPORT ). I have pointed this out a couple of months back (back in 0.93) and the problem still exists in 0.95. Rgds Kheng Kok

[Axis2] problem with org.apache.axis2.security.util.Axis2Util (for security-0.95 module)

2006-04-20 Thread Mar, Kheng Kok
Hi, In the getSOAPEnvelopFromDOOMDocument(Document doc, Boolean disableDoom) method in Axis2Util, it uses XmlUtils to output doc to bytearray, and create a XMLStreamReader out of this array. However, this implementation seems to have problem with the following type of XML document: A

Re: Deploy a web service without wsdd (with wsdl and java classes) in Axis

2006-04-20 Thread Anne Thomas Manes
wsdl2java will generate a WSDD file for you.On 4/20/06, Gorka López [EMAIL PROTECTED] wrote: Hello, I know how to deploy a web service in axis with the .wsdd file (java org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd) But I want to deploy a web

[Axis2] AxisFault and SOAPFault problem

2006-04-20 Thread Mar, Kheng Kok
In my wsdl, I have a custom fault to throw, as in the following wsdl:operation name=getQueryNames wsdl:input message=impl:getQueryNamesRequest name=getQueryNamesRequest/ wsdl:output message=impl:getQueryNamesResponse name=getQueryNamesResponse/ wsdl:fault

Re: WSDL2Java error

2006-04-20 Thread Anne Thomas Manes
Dink,You need to declare some namespaces in your wsdl:definitions statement, e.g., xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/ xmlns:wsdlsoap= http://schemas.xmlsoap.org/wsdl/soap/ xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns:tns=urn:ifxforum-org:WSDL:1:PortType

Re[2]: Server.userException and InvocationTargetException - what does it mean?

2006-04-20 Thread Martin Wunderlich
Thanks a lot to Vartan, Dies and Robert for your comments. I seem to have missed Dies' message the first time round, so I am glad that Robert took it up. The situation as described by Dies is perfectly correct. As for mapping Hibernate collections to arrays, I think I could replace the existing

Re: namespace different

2006-04-20 Thread Anne Thomas Manes
Daniel,These two snippets are semantically equivalent:tns:foo xmlns:tns=urn:foo.bar barfoobar/bar/tns:fooand foo xmlns=urn:foo.bar bar xmlns=foobar/bar /fooIf their parser can't process them both, it's seriously flawed.AnneOn 4/19/06, Daniel Destro [EMAIL PROTECTED] wrote:I understand.This must

RE: got security module installation problems :(

2006-04-20 Thread Mar, Kheng Kok
This is a Xalan problem. Make sure you have the right xalan version. The FuncLoader is not existent in certain xalan version, The one that works for me is xalan-2.5.1.jar Rgds Kheng Kok From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006

AW: Can you default the SOAPAction as being ?

2006-04-20 Thread Christian Seiler
I resolved a very similar problem by decorating the AxisServlet with my own Servlet which wrapped the HttpServletRequest with a request where the SoapAction is set (to ). Could have achieved the same with a Servlet filter CU Christian Seiler Von: [EMAIL PROTECTED]

Re: Strange WSDL Namespace Issue

2006-04-20 Thread Anne Thomas Manes
The WSDL appears to be valid, and clearly indicates that the element belongs to the urn:www.pgn.wbmethod:servicerequesttypes namespace. How did you configure the service?Anne On 4/19/06, Griffin, Mark [EMAIL PROTECTED] wrote: I have what I thought was a simple doc/literal wrapped style

Re: What is the role of the SOAPAction header?

2006-04-20 Thread Anne Thomas Manes
It's required because the SOAP 1.1 spec says it is. It was intended to be used as a hint when dispatching requests, but it really isn't necessary -- except that the spec says it is.Anne On 4/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: All, I have a soap 1.1 client that I am trying to use

Re: Can you default the SOAPAction as being ?

2006-04-20 Thread Eran Chinthaka
Hi Justin and Robert, Seems I have missed this thread. Please give me an executive summary or try (again) to file a JIRA. May be I can help :) - Chinthaka Justin Schoeman wrote: Axis2 no longer reports an EPR not found error - it just assumes the wrong operation to be performed... Tried to

Help integrating mysql database in Web Services Developer Pack

2006-04-20 Thread Gorka López
Hello, I read a lot of pages and try a lot of configuraions but I can´t do that my web service access to a mysql database. I´m using Web Service Developer pack 2.0 (it is the same as Tomcat). Could anybody hel me?? Thanks. Kemmotar

Re: SOAP - literal x encoded

2006-04-20 Thread Daniel Destro
Hi Dies,I did my testing following your hints and I did not get the point.I generated my WSLD using the 3 different options for -s (style) - DOCUMENT, RPC and WRAPPED, and also -u (use) - LITERAL.All this combination ignored the fact that I am using Integer and Double. Instead, the server binding

DIME Attachement IOException using weblogic IIS Plug-in / OK without Plug-in

2006-04-20 Thread Ryan Dollard
Hi, I have a deployed axis servlet (1.2.1) running on a weblogic server (8.1.5) which accepts a DIME attachment. The client sends the attachment via axis rpc call.invoke() methods. If I send the attachment via a weblogic IIS proxy plug-in URL, I get IOExceptions (shown below with IIS

Re: [Axis2] Axis2 class loader and RC1

2006-04-20 Thread robert lazarski
Download locations :* binary and source distributions -http://people.apache.org/~deepal/axis2/1.0-RC1/* jars http://people.apache.org/~deepal/maven/ws/axis2/jars/* mars (addressing and security)

Re: AW: Can you default the SOAPAction as being ?

2006-04-20 Thread Joshua . White
Excellent idea. Did you write your own class that wraps the HttpServletRequest? Joshua Christian Seiler [EMAIL PROTECTED] 04/20/2006 11:46 AM Please respond to axis-user To:axis-user@ws.apache.org cc: Subject:AW: Can you default the SOAPAction as being ?

Can AXIS read a WSDL object from an XML file?

2006-04-20 Thread Holden, Robert M (Robert)
Since my AXIS 1.2 client also needs to read/write, using XML, several of my wsdl2java objects it seems to me the conversion capability AXIS has internally should be perfect for the job. I already figured out how to serialize those objects, but remain stumped on deserialization. I hope

RE: problem with C# client of axis2 service

2006-04-20 Thread Bennett, Derek
I think that there is actually a problem with Axis2. Using the attached WSDL file I sent the2 messages and received2 responses, one from each client type (see attached message transcript). As you can see, the responses have identical meta-data. Regarding what Ms. Manes said before (below),

Wrong element appearing in soap message.

2006-04-20 Thread akkachotu
I have below wsdl generated using AXIS 1.2 Final : $$ ?xml version=1.0 encoding=UTF-8? wsdl:definitions targetNamespace=http://ws.xml.com/wsdl/GRT; xmlns:apachesoap=http://xml.apache.org/xml-soap;

RE: problem with C# client of axis2 service

2006-04-20 Thread Luis Antonio Martinez Cuevas
Hello. I am new in web services, i am trying to run this example http://www.osmosislatina.com/axis/webserviceswsdl.htm but is not working, could some one try it and tell me if runs in your tomcat? thanks De: Bennett, Derek [mailto:[EMAIL PROTECTED] Enviado el:

[axis2] [SVN] Client fails to parse the response when Server throws a Exception

2006-04-20 Thread Siamak Haschemi
Hello to all. I've created a custom Exception in the WSDL-File which I have attached with this eMail. I hope that is O.K. I generate the serverside Skeleton with WSDL2Java. In the Skeleton-code I throw the Exception like below. I also listed the request and the response. The problem is

Re: SOAP - literal x encoded

2006-04-20 Thread Dies Koper
Hello Daniel, I'm sorry, I misunderstood what you wrote. You wrote wrapper types, and I was thinking wrapper classes (that wrap multiple method arguments) and their complexType definitions in the WSDL. Now that you mention that your original Integer gets generated as int I understand your

OutOnly operations is not supported in axis2!!!!

2006-04-20 Thread Kensky Schulz
Hi, I would like to know whether axis2 supports OutOnly operations with stubs as i have tried alot using web methods having return value plus parameter and without return value, for which it generates +MessageRecieverInOnly and +MessageRecieverInOut along with +stub therefore it works

Re: WSDL2Java error

2006-04-20 Thread Dies Koper
Hello Anne, Dink, I'm not sure I understand Dies's first recommendation. The targetNamespace of the types schema should NOT be the same as the imported namespace, ifx. (If you want to incorporate a namespace of the same name, you must use xsd:include rather than xsd:import). You might want to

Re: WSDL Vs Generated WSDL question

2006-04-20 Thread Deepal Jayasinghe
Hi Lianghwa; The auto generated wsdl will only work if the server side uses RPCMessageReceiver, the problem is auto generation is based on java reflection and we can not get the exact original wsdl. So the best solution is either put ur original wsdl file there or if you want axis2 to generate

Re: [Axis2] problem with org.apache.axis2.security.util.Axis2Util (for security-0.95 module)

2006-04-20 Thread Ruchith Fernando
Hi Kheng Kok, Just fixed it and checked it it (svn revision 395786) Thanks for finding and reporting this. Regards, Ruchith On 4/20/06, Mar, Kheng Kok [EMAIL PROTECTED] wrote: Hi, In the getSOAPEnvelopFromDOOMDocument(Document doc, Boolean disableDoom) method in Axis2Util, it uses XmlUtils