Discussion:
[jboss-user] [JBoss Web Services] - How to turn swaref XSD offline JBoss WS Native 3.0.4.GA
Eduardo Mello Cantú
2013-05-28 12:55:08 UTC
Permalink
Eduardo Mello Cantú [https://community.jboss.org/people/eduardo.mello.cantu] created the discussion

"How to turn swaref XSD offline JBoss WS Native 3.0.4.GA"

To view the discussion, visit: https://community.jboss.org/message/819865#819865

--------------------------------------------------------------
I'm running a Webservice on JBoss Ws Native 3.0.4.GA (under JBoss AS 4.2.3.GA) that uses swaref to work along with soap attachments.

Today my wsdl imports (as shown below) the schema from a remote location, but now there's a need to stop doing it.

<xs:import namespace="http://ws-i.org/profiles/basic/1.1/xsd" schemaLocation="http://ws-i.org/profiles/basic/1.1/swaref.xsd"/>



The first thing that came to my mind was to import the xsd into the project and then point to it. What do you guys think about it? There's another way to do it?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/819865#819865]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
Antonio Marcos Pereira
2013-05-29 17:27:08 UTC
Permalink
Antonio Marcos Pereira [https://community.jboss.org/people/antonio.pereira] created the discussion

"Re: How to turn swaref XSD offline JBoss WS Native 3.0.4.GA"

To view the discussion, visit: https://community.jboss.org/message/820190#820190

--------------------------------------------------------------
Ok, what's your problem with it? Why do you want to do this?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/820190#820190]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
Eduardo Mello Cantú
2013-05-29 17:35:21 UTC
Permalink
Eduardo Mello Cantú [https://community.jboss.org/people/eduardo.mello.cantu] created the discussion

"Re: How to turn swaref XSD offline JBoss WS Native 3.0.4.GA"

To view the discussion, visit: https://community.jboss.org/message/820191#820191

--------------------------------------------------------------
What triggered my question was that some clients with limited internet access tried to consume my service without success. The reason was they cant access the "schemaLocation".
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/820191#820191]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
Loading...