P
Peter K
Hi,
I have a webservice written in c#, which I now want to consume from a
java application.
In the .net world it is relatively simple to use Microsoft's visual
studio IDE to automatically generate all the interface and data classes
for accessing a webservice. But I haven't successfully achieved this in
java yet - I hope I can get some help here...
I am using the Eclipse IDE and have looked at XFire and JAXWS, but
haven't managed to get them to work properly yet.
JAXWS complains with some warnings:
[WARNING] src-resolve: cannot resolve the name 's1:guid' to a(n) 'type
definition' component.
[WARNING] SOAP port "MyWSSoap12": uses a non-standard SOAP 1.2 binding
and in the generated source there is an error:
@WebEndpoint(name = "MyWSSoap")
public MyWSSoap getMyWSSoap(WebServiceFeature... features) {
Where "WebServiceFeature..." is unknown to the compiler.
XFire generates some classes with a whole lot of stub methods which just
throw UnsupportedOperationExceptions.
Can anyone give me some hints on an easy way to import WSDL data and
generate the necessary classes for accessing a webservice via java?
Thanks,
Peter
I have a webservice written in c#, which I now want to consume from a
java application.
In the .net world it is relatively simple to use Microsoft's visual
studio IDE to automatically generate all the interface and data classes
for accessing a webservice. But I haven't successfully achieved this in
java yet - I hope I can get some help here...
I am using the Eclipse IDE and have looked at XFire and JAXWS, but
haven't managed to get them to work properly yet.
JAXWS complains with some warnings:
[WARNING] src-resolve: cannot resolve the name 's1:guid' to a(n) 'type
definition' component.
[WARNING] SOAP port "MyWSSoap12": uses a non-standard SOAP 1.2 binding
and in the generated source there is an error:
@WebEndpoint(name = "MyWSSoap")
public MyWSSoap getMyWSSoap(WebServiceFeature... features) {
Where "WebServiceFeature..." is unknown to the compiler.
XFire generates some classes with a whole lot of stub methods which just
throw UnsupportedOperationExceptions.
Can anyone give me some hints on an easy way to import WSDL data and
generate the necessary classes for accessing a webservice via java?
Thanks,
Peter