Skip to main content

web service from wsdl ?

No replies
csergiu77
Offline
Joined: 2005-02-06
Points: 0

have like a wsdl file split in :

service.wsdl
_interface.wsdl
faults.xsd
user_types.xsd.

service.wsdl import all the others.

I generated the classes for server side using ws import and exposed the webservice

@WebService(serviceName = "UserService", portName = "UserProvisioning", endpointInterface = "com.xyz.UserProvisioning", targetNamespace = "http://www.xyz.com/wsdl/user/provisioning/service", wsdlLocation = "/WEB-INF/wsdl/service.wsdl"

Everything is deployed , but the wsdl file when i access the webpoint from a browser is not the on efrom wsdlLocation is a generated ONE.

http://localhost:8080/MTS/services/provisioning?wsdl

They are alomest the same but they have small differences

1 Do you know why ?

2 When i try to create a client and use wsimport it complains that it can't find _interface.wsdl any ideea why ?
(i use glassfish)
thx for any help !

Message was edited by: csergiu77