users@glassfish.java.net

web service from wsdl ?

From: <glassfish_at_javadesktop.org>
Date: Mon, 09 Mar 2009 02:30:22 PDT

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
[Message sent by forum member 'csergiu77' (csergiu77)]

http://forums.java.net/jive/thread.jspa?messageID=335819