Skip to main content

WSIT client won't integrate with WCF service

4 replies [Last post]
smakris
Offline
Joined: 2007-03-31
Points: 0

Baffled as to why such a simple test with no WS-Security would be failing.
Unfortunately in a situation where it is difficult at the moment to get the WCF team to assist particularly when there are no issues with the WCF client and I'm struggling on resolving this one. I've attached the files if this helps.

The following errors are being generated when running wsimport
========================
[wsimport] parsing WSDL...

[wsimport] [ERROR] Two declarations cause a collision in the ObjectFactory class.
[wsimport] line 1 of http://hugo-sys:8502/?xsd=xsd0

[wsimport] [ERROR] (Related to above error) This is the other declaration.
[wsimport] line 1 of http://hugo-sys:8502/?xsd=xsd2

[wsimport] [ERROR] Two declarations cause a collision in the ObjectFactory class.
[wsimport] line 1 of http://hugo-sys:8502/?xsd=xsd0

[wsimport] [ERROR] (Related to above error) This is the other declaration.
[wsimport] line 1 of http://hugo-sys:8502/?xsd=xsd3

[wsimport] [ERROR] Two declarations cause a collision in the ObjectFactory class.
[wsimport] line 1 of http://hugo-sys:8502/?xsd=xsd3

[wsimport] [ERROR] (Related to above error) This is the other declaration.
[wsimport] line 1 of http://hugo-sys:8502/?xsd=xsd3

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
smakris
Offline
Joined: 2007-03-31
Points: 0

Is there anyone who can assist with this issue or should I be looking at alternatives.

ritzmann
Offline
Joined: 2003-06-19
Points: 0

I had forwarded your request to one of our schema experts, but never heard back. This definitely looks like an issue with parsing the schema and is not directly related to WSIT. There is a higher probability of getting an educated response in this forum: http://forums.java.net/jive/forum.jspa?forumID=46

smakris
Offline
Joined: 2007-03-31
Points: 0

Thanks, these are the parameters:

debug="true"
verbose="true"
keep="true"
extension="true"
destdir="${build.home}"
package="com.bupa.hugo.client"
wsdl="http://hugo-sys:8502/?wsdl">

ritzmann
Offline
Joined: 2003-06-19
Points: 0

It might help to know with what parameters exactly you are invoking wsimport.