my dog learned polymorphism*
The moose likes Web Services and the fly likes JAX-WS xsd:import Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAX-WS xsd:import" Watch "JAX-WS xsd:import" New topic
Author

JAX-WS xsd:import

Luciano A. Pozzo
Ranch Hand

Joined: Jun 20, 2005
Posts: 112
Hi,

I am using JAX-WS in a Weblogic 11 container to create a service, everything work's fine, but I want to 'remove' the xsd:import and include the entire xsd inside the wsdl. It is possible? And how may I do it?

The xsd import:




The Webservice:




Tk's
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1167
In Ivan's study guide there is such an example -



William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Luciano A. Pozzo
Ranch Hand

Joined: Jun 20, 2005
Posts: 112
Hi Dan,

Actually I don't want 'import' the xsd. This is the default behavior. I want that JAX-WS put all the content of the xsd inside of the wsdl.

tk's
Jose Luis Cr
Greenhorn

Joined: May 02, 2011
Posts: 1
Luciano A. Pozzo wrote:Hi Dan,

Actually I don't want 'import' the xsd. This is the default behavior. I want that JAX-WS put all the content of the xsd inside of the wsdl.

tk's


hi Luciano.. maybe did you find the solution to your problem?..
Luciano A. Pozzo
Ranch Hand

Joined: Jun 20, 2005
Posts: 112
No Jose... We got used with this model.
niras iva
Greenhorn

Joined: May 10, 2011
Posts: 18
I have one doubt...
niras iva
Greenhorn

Joined: May 10, 2011
Posts: 18
Hello Sir i create a proxy classes in webservice using this command

wsimport -s Sample -p helloclient -extension http://wcf.3marketeers.com/service.svc?wsdl
parsing WSDL...

I Got a error like this:
generating code...

[ERROR] Sample\helloclient\ArrayOfCustomerDataContract.java (Access is denied)
How can i rectify this problem please help me.


Ravi Majety
Ranch Hand

Joined: Feb 26, 2009
Posts: 59

May be there is no execute permission for that particular java file. Provide the full permissions and try again.
Ravi Majety
Ranch Hand

Joined: Feb 26, 2009
Posts: 59


You mean you want to import the xsd schema into your wsdl file replacing xsd:import tag at time of deployment automatically?

Luciano A. Pozzo wrote:Hi,

I am using JAX-WS in a Weblogic 11 container to create a service, everything work's fine, but I want to 'remove' the xsd:import and include the entire xsd inside the wsdl. It is possible? And how may I do it?

The xsd import:




The Webservice:




Tk's
niras iva
Greenhorn

Joined: May 10, 2011
Posts: 18

Hai
i have generated a proxy classes for web service by using wsimport commands.
while generating i got a error like this,please rectify this problem
[WARNING] SOAP port "ServiceSoap12": uses a non-standard SOAP 1.2 binding.
line 138 of http://10.0.3.24/Test/service.asmx?wsdl.
niras iva
Greenhorn

Joined: May 10, 2011
Posts: 18
I created a web service in .NET Framework,and i generated a proxy classes.while running my Application I got error like this

[WARNING] SOAP port "ServiceSoap12": uses a non-standard SOAP 1.2 binding.
line 138 of http://10.0.3.24/Test/Service.asmx?wsdl
How can i rectify this problem?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JAX-WS xsd:import
 
Similar Threads
Query regarding RPC/Document Style,WSGEN and WSIMPORT
Missing wsdl namespace on wsdl file generated using wsgen
WSDL question..
XSL to enhance WSDL presentation
Https and wsdl