Axis SOAP issue
Luke Trevorrow <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
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')
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)
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)
</ns1:stackTrace><ns2:hostname
xmlns:ns2="http://xml.apache.org/axis/">laptop0074</ns2:hostname></detail></
soapenv:Fault></soapenv:Body></soapenv:Envelope>
Can anybody help me with this as my other SOAP services seem to work fine
and I would love to use this additional functionality in shark along side
them.
Kindest Regards
Luke Trevorrow
IT Operations Controller
Musgrave Budgens Londis
********************************************************************
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
********************************************************************