Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-WS xsd:import

 
Luciano A. Pozzo
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
 
Dan Drillich
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
 
Jose Luis Cr
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.
 
niras iva
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.


 
Ravi Majety
Ranch Hand
Posts: 59
Eclipse IDE Java Oracle
  • 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 Java Oracle
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic