Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

JAX-WS xsd:import

 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No Jose... We got used with this model.
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have one doubt...
 
niras iva
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
girl power ... turns out to be about a hundred watts. But they seriuosly don't like being connected to the grid. Tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic