• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

JAX-WS xsd:import

 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Ivan's study guide there is such an example -

 
Luciano A. Pozzo
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No Jose... We got used with this model.
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have one doubt...
 
niras iva
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


 
Ranch Hand
Posts: 59
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May be there is no execute permission for that particular java file. Provide the full permissions and try again.
 
Ravi Majety
Ranch Hand
Posts: 59
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
We don't have time to be charming! Quick, read this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic