Wf-XML - getting it too work

Bastiaan de Rijber <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
Hi,

I've just installed Shark 1.1, with the intention of trying out the
new Wf-XML and ASAP features.

Installling went perfect, starting the web service, no problemo.
However, when I try the webservice (tried referencing it in Microsoft
Visual Studio) I get an error message - I suspect that this is because
http://www.oasis-open.org/asap/0.9/asap.xsd does not contain an XSD as
one would expect?

I was also curious how far the Wf-XML standard has been implemented;
can I also perform activities using the API?

Error message below.

Thanks!

Bastiaan de Rijber


<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.generalException</faultcode><faultstring>makeTypeElement()
was told to create a type
&quot;{http://www.oasis-open.org/asap/0.9/asap.xsd}&gt;Response&quot;,
with no containing element</faultstring><detail><ns1:stackTrace
xmlns:ns1="http://xml.apache.org/axis/">makeTypeElement() was told to
create a type &quot;{http://www.oasis-open.org/asap/0.9/asap.xsd}&gt;Response&quot;,
with no containing element
	at org.apache.axis.wsdl.fromJava.Types.makeTypeElement(Types.java:1748)
	at org.apache.axis.wsdl.fromJava.Types.writeType(Types.java:997)
	at org.apache.axis.encoding.ser.BeanSerializer.writeField(BeanSerializer.java:418)
	at org.apache.axis.encoding.ser.BeanSerializer.writeSchema(BeanSerializer.java:367)
	at org.apache.axis.wsdl.fromJava.Types.makeTypeElement(Types.java:1796)
	at org.apache.axis.wsdl.fromJava.Types.writeElementDecl(Types.java:1216)
	at org.apache.axis.wsdl.fromJava.Emitter.writePartToMessage(Emitter.java:1935)
	at org.apache.axis.wsdl.fromJava.Emitter.writeHeaderParts(Emitter.java:1529)
	at org.apache.axis.wsdl.fromJava.Emitter.writeResponseMessage(Emitter.java:1716)
	at org.apache.axis.wsdl.fromJava.Emitter.writeMessages(Emitter.java:1113)
	at org.apache.axis.wsdl.fromJava.Emitter.writePortType(Emitter.java:1067)
	at org.apache.axis.wsdl.fromJava.Emitter.getWSDL(Emitter.java:479)
	at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:326)
	at org.apache.axis.providers.BasicProvider.generateWSDL(BasicProvider.java:243)
	at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
	at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)
	at org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.java:316)
	at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:467)
	at org.apache.axis.transport.http.SimpleAxisWorker.execute(SimpleAxisWorker.java:328)
	at org.apache.axis.transport.http.SimpleAxisWorker.run(SimpleAxisWorker.java:155)
	at org.apache.axis.transport.http.SimpleAxisServer.run(SimpleAxisServer.java:245)
	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:385)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.enhydra.shark.wfxml.SharkServiceImpl.main(SharkServiceImpl.java:84)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:136)
	at java.lang.Thread.run(Unknown Source)
</ns1:stackTrace><ns2:hostname
xmlns:ns2="http://xml.apache.org/axis/">megatron</ns2:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.