RE: Axis SOAP issue
Luke Trevorrow <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
Hello, I finally got my firewall port 8080 released and when connecting to your Axis implementation I get the following error. - <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <soapenv:Body> - <soapenv:Fault> <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.NoService</faultcode> <faultstring>The AXIS engine could not find a target service to invoke! targetService is services</faultstring> - <detail> <ns2:stackTrace xmlns:ns2="http://xml.apache.org/axis/">The AXIS engine could not find a target service to invoke! targetService is services at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:460) at org.apache.axis.transport.http.SimpleAxisWorker.execute(SimpleAxisWorker.jav a:328) at org.apache.axis.transport.http.SimpleAxisWorker.run(SimpleAxisWorker.java:15 5) at org.apache.axis.transport.http.SimpleAxisServer.run(SimpleAxisServer.java:24 5) at org.apache.axis.transport.http.SimpleAxisServer.start(SimpleAxisServer.java: 296) at org.apache.axis.transport.http.SimpleAxisServer.start(SimpleAxisServer.java: 304) at org.apache.axis.transport.http.SimpleAxisServer.main(SimpleAxisServer.java:3 85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.enhydra.shark.wfxml.SharkServiceImpl.main(SharkServiceImpl.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:136) at java.lang.Thread.run(Thread.java:534)</ns2:stackTrace> <ns3:hostname xmlns:ns3="http://xml.apache.org/axis/">grunf.prozone.local</ns3:hostname> </detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> Luke Trevorrow -----Original Message----- From: Vladimir Puskas [mailto:[email protected]] Sent: 06 July 2005 08:43 To: [email protected] Subject: Re: [shark] Axis SOAP issue Hello Luke you wrote: > I have tried asapInstanceBinding and got the same error using getProperties > and subscribe methods. For some reason the AdminService tag is not correct > and it requires a tag of deployment? Have you tried to connect to this engine with JaWE? Public Shark Wf-XML demo-engine is up and running. It's built from current CVS code. Can you, please, try connecting with JaWE to http://vajat.prozone.co.yu:8080/axis/services/wfxmlRegistryBinding ? tia -- Vlada > Any light on this matter would be good. > > Kindest Regards > > Luke Trevorrow > -----Original Message----- > From: Vladimir Puskas [mailto:[email protected]] > Sent: 05 July 2005 13:47 > To: [email protected] > Subject: Re: [shark] Axis SOAP issue > > Hello Luke > > you wrote: > >>Hello, >> >>I am having issues with the Axis SOAP implementation. Using tcptrace from >>pocketsoap.com you can see I am passing in the following message: >> >>POST /axis/services/AdminService/services/Version HTTP/1.0 >>User-Agent: Mozilla/4.0 (compatible; Cache;) >>Connection: Close >>Host: laptop0074:8080 >>SOAPAction: >>Content-Length: 406 >>Content-Type: text/xml; charset=UTF-8 >> >><?xml version="1.0" encoding="UTF-8" ?> >><SOAP-ENV:Envelope >>xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' >>xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' >>xmlns:s='http://www.w3.org/2001/XMLSchema' >>xmlns:types='http://xml.apache.org/axis/wsdd/'> >> <SOAP-ENV:Body> >> > <types:AdminService><AdminService>getVersion</AdminService></types:AdminServ > >>ice> </SOAP-ENV:Body> >></SOAP-ENV:Envelope> >> >>And getting the following error: >> >>HTTP/1.0 500 Internal server error >>Set-Cookie: 2 >>Set-Cookie2: 2 >>Content-Type: text/xml; charset=utf-8 >> >><soapenv:Envelope > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > >>xmlns:xsd="http://www.w3.org/2001/XMLSchema" >> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv > > :Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>org.a > >>pache.axis.deployment.wsdd.WSDDException: Invalid WSDD element >>'AdminService' (wanted 'deployment') >> >>org.apache.axis.deployment.wsdd.WSDDException: Invalid WSDD element >>'AdminService' (wanted 'deployment') >> at >> > > org.apache.axis.deployment.wsdd.WSDDElement.validateCandidateElement(WSDDEle > >>ment.java:74) >> at >> > > org.apache.axis.deployment.wsdd.WSDDElement.<init>(WSDDElement.java:54 > >>) >> at >> > > org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.j > >>ava:183) >> at >> > > org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java: > >>78) >> at org.apache.axis.utils.Admin.processWSDD(Admin.java:110) >> at org.apache.axis.utils.Admin.process(Admin.java:157) >> at org.apache.axis.utils.Admin.AdminService(Admin.java:64) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 > >>) >> at >> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > >>.java:25) >> at java.lang.reflect.Method.invoke(Method.java:324) >> at >> > > org.apache.axis.providers.java.MsgProvider.processMessage(MsgProvider.java:1 > >>26) >> at >>org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:319) >> at >> > > org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java: > >>32) >> at > > org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) > >> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) >> at >>org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:450) >> at > > org.apache.axis.server.AxisServer.invoke(AxisServer.java:285) > >> at >> > > org.apache.axis.transport.http.SimpleAxisWorker.execute(SimpleAxisWorker.jav > >>a:428) >> at >> > > org.apache.axis.transport.http.SimpleAxisWorker.run(SimpleAxisWorker.java:15 > >>5) >> at >> > > org.apache.axis.transport.http.SimpleAxisServer.run(SimpleAxisServer.java:24 > >>5) >> at >> > > org.apache.axis.transport.http.SimpleAxisServer.start(SimpleAxisServer.java: > >>296) >> at >> > > org.apache.axis.transport.http.SimpleAxisServer.start(SimpleAxisServer.java: > >>304) >> at >> > > org.apache.axis.transport.http.SimpleAxisServer.main(SimpleAxisServer.java:3 > >>85) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 > >>) >> at >> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > >>.java:25) >> at java.lang.reflect.Method.invoke(Method.java:324) >> at >>org.enhydra.shark.wfxml.SharkServiceImpl.main(SharkServiceImpl.java:84) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 > >>) >> at >> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > >>.java:25) >> at java.lang.reflect.Method.invoke(Method.java:324) >> at >>org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:136) >> at java.lang.Thread.run(Thread.java:534) >></faultstring><detail><ns1:stackTrace >> > > xmlns:ns1="http://xml.apache.org/axis/">org.apache.axis.deployment.wsdd.WSDD > >>Exception: Invalid WSDD element 'AdminService' (wanted 'deployment') >>... > > > We saw some problems with Axis, yet choose to ignore them, because they > didn't really interfere with our services (registry, factory, instance > and observer ;-) and Wf-XML interoperability with other vendors. > Do you have same or similar problems with them too? > > You may already noticed that Shark follows >>Omnia mea mecum porto.<< > philosophy. SimpleAxisServer fitted in nicely not enlarging the lot, but > beware - its docs says: "This is a simple implementation of an HTTP > server for processing SOAP requests via Apache's xml-axis. This is not > intended for production use. Its intended uses are for demos, debugging, > and performance profiling." > > Then again, we're still using Axis1.2RC2 while v1.2.1 is available... ******************************************************************** This e-mail, and any attachment transmitted with it, is confidential and intended solely for the person or entity to whom it is addressed. If you receive this message in error please contact the sender immediately. Any unauthorised dissemination of this e-mail or its attachments and any use of any information contained in it is strictly prohibited. Any views expressed in this e-mail are those of the individual sender and do not necessarily reflect the views of Musgrave Budgens-Londis (MBL). Whilst we use reasonable endeavours to check and virus scan all e-mails leaving the Company, MBL accepts no responsibility for any computer virus or for any errors or omissions in this e-mail. Please undertake your own virus checking. Please note that MBL reserves the right to monitor e-mail communications through its networks at all times. Our postal address is : Musgrave Budgens-Londis, Musgrave House, Widewater Place, Moorhall Road, Harefield, Middlesex UB9 6PE. Telephone 0870 0500158. www.Musgrave.co.uk ********************************************************************
message.footer
(text/plain, 271 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws