rakouskask Moderator
Registered: 01/03/05
Posts: 64
|
|
|
Reply with quote | #1 | Apache Code from WSDL by Tom Aten, 21. Jul 2004 15:25
We're running into an interesting "problem" that I'm wondering if anybody else has noticed. We and the CDX agree that our node passes the tests on https://test.epacdxnode.net/test/.
Our WSDL is the latest version and complete according to the CDX WSDL. However, we generate code based off the WSDL and then write our own implementation of the web service operations.
But when we look at the Download service:
The Apache Axis generated code for download looks like this:
public void download(
java.lang.String securityToken,
java.lang.String transactionId,
java.lang.String dataflow,
us.wi.state.dnr.xnetwork.xrpc.holders.ArrayofDocHolder documents)
}
What is expected from the Specifications is this:
public NodeDocument[] download(
java.lang.String securityToken,
java.lang.String transactionId,
java.lang.String dataflow,
us.wi.state.dnr.xnetwork.xrpc.NodeDocument[] documents)
}
Our Notify and GetServices services react as appropriate, which is the puzzling part:
public String notify(
java.lang.String securityToken,
java.lang.String nodeAddress,
java.lang.String dataflow,
us.wi.state.dnr.xnetwork.xrpc.NodeDocument[] documents)
2) The getservices web method return an array type just fine as it is defined in the WSDL
public java.lang.String[] getServices(
java.lang.String securityToken
java.lang.String serviceType)
We have the theory that Apache is producing the nuts and bolts like this for everybody. Please check your nodes and tell me what you find! Thanks
Tom Aten
Business Automation
Wisconsin Department of Natural Resources
(() phone: (608) 267-7638
(+) e-mail: thomas.aten@dnr.state.wi.us
|
| |