Re: [AXIS2] Importing a external schema in WSDL

2007-06-20 Thread Bryan Chen
I had the same issue. But this issue looks like only related to the new release 
(1.1.1 and 1.2), and if you use release 1.1, everything seems to work fine, 
except that it cannot generate wsdl, but the service works fine though

 dharmendra3 [EMAIL PROTECTED] 6/14/2007 8:50 AM 

Iam using Axis2 1.1.1 and OS is windows XP.
We are creating our own war file.
Its actually some WarBasedConfigurator which is not able to locate the .xsd
file.
Did you try with the wsdl ans xsd that I have sent.
Do I need to make any changes to them.
Ineed to resolve it asap.


Amila Suriarachchi wrote:
 
 what is the axis2 version and the OS you use? I generated the code with
 full
 path and it worked fine.
 and it sets the paths in saved wsdl and schema files as well.
 
 On 6/11/07, dharmendra3 [EMAIL PROTECTED] wrote:


 i have attached the xsd and the wsdl files.



 Amila Suriarachchi wrote:
 
  can you send your wsdl and your xsd files?
 
  On 6/7/07, dharmendra3 [EMAIL PROTECTED] wrote:
 
 
  When I try to import a schema with relative url,wsdl2ava is working
 fine
  but
  deployment is causing the problem saying that its not able to find the
  xsd
  file (It looks for xsd file from the domain root).
 
  If I use absolute url (schemalocation) wsdl2java is failing.
 
 
  Is this a bug with the wsdl4j,how can I resolve this.
  --
  View this message in context:
 
 http://www.nabble.com/-AXIS2---Importing-a-external-schema-in-WSDL-tf3884021.html#a11008452
  
  Sent from the Axis - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED] 
  For additional commands, e-mail: [EMAIL PROTECTED] 
 
 
 
 
  --
  Amila Suriarachchi,
  WSO2 Inc.
 
 
 http://www.nabble.com/file/p11062282/transporter.xsd transporter.xsd
 http://www.nabble.com/file/p11062282/PoetManagementService.wsdl 
 PoetManagementService.wsdl
 --
 View this message in context:
 http://www.nabble.com/-AXIS2---Importing-a-external-schema-in-WSDL-tf3884021.html#a11062282
  
 Sent from the Axis - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, e-mail: [EMAIL PROTECTED] 


 
 
 -- 
 Amila Suriarachchi,
 WSO2 Inc.
 
 

-- 
View this message in context: 
http://www.nabble.com/-AXIS2---Importing-a-external-schema-in-WSDL-tf3884021.html#a11121505
 
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


 

The information contained in this electronic communication and any document 
attached hereto or transmitted herewith is confidential and intended for the 
exclusive use of the individual or entity named above.  If the reader of this 
message is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient, you are hereby notified that any 
examination, use, dissemination, distribution or copying of this communication 
or any part thereof is strictly prohibited.  If you have received this 
communication in error, please immediately notify the sender by reply e-mail 
and destroy this communication.  Thank you.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [AXIS2] Importing a external schema in WSDL

2007-06-17 Thread dharmendra3

Iam trying to deploy it in weblogic.
It gives me the same error saying that xsd0.xsd not found under domain root.
is it because of weblogic.
do i have to make any changes to my classpath.

Iam using the latest release axis2-1.2



mgainty wrote:
 
 I agree with Ajith--
 
 so in this situation
 xs:include schemaLocation=./Whatever.xsd/
 make sure you have validated the Whatever.xsd beforehand
 http://www.w3schools.com/dom/dom_validate.asp
 
 M--
 This email message and any files transmitted with it contain confidential
 information intended only for the person(s) to whom this email message is
 addressed.  If you have received this email message in error, please
 notify
 the sender immediately by telephone or email and destroy the original
 message without making a copy.  Thank you.
 
 - Original Message - 
 From: Ajith Ranabahu [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Sent: Saturday, June 16, 2007 12:03 AM
 Subject: Re: [AXIS2] Importing a external schema in WSDL
 
 
 Hi,
 I have to admit that we had some problems with relative imports in
 some *previous* releases. However the absolute URL's case always
 worked.
 So here are somethings you can try

 1. Try using the latest release. Since it seems to work without a
 problem for us its worth to try in your setting.

 2. Please check whether you have any network restrictions, perhaps the
 personal firewall ? Best thing is to see whether you can access the
 URL by some other means, may be the browser. However this is not a
 fool proof method since personal firewalls are likely to have
 exceptions for programs such as the browser.

 3. If non of this work a somewhat dirty solution would be to inline
 the schemas in the WSDL.

 Ajith

 On 6/15/07, dharmendra3 [EMAIL PROTECTED] wrote:

 Anyone had sucess using schema imports in wsdl.
 if I use relative url(shema import) my deployment complains and if i use
 absolute url for schema location wsdl2java fails.
 DeploymentEngine complains that its not able to find the xsd file.

 Iam loosing my patience here.

 Iam assuming that axis2 does not support a basic feature of importing
 schemas in the wsdl.






 dharmendra3 wrote:
 
  When I try to import a schema with relative url,wsdl2ava is working 
  fine
  but deployment is causing the problem saying that its not able to find 
  the
  xsd file (It looks for xsd file from the domain root).
 
  If I use absolute url (schemalocation) wsdl2java is failing.
 
 
  Is this a bug with the wsdl4j,how can I resolve this.
 

 --
 View this message in context: 
 http://www.nabble.com/-AXIS2---Importing-a-external-schema-in-WSDL-tf3884021.html#a11150477
 Sent from the Axis - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




 -- 
 Ajith Ranabahu

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/-AXIS2---Importing-a-external-schema-in-WSDL-tf3884021.html#a11166907
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [AXIS2] Importing a external schema in WSDL

2007-06-15 Thread dharmendra3

Anyone had sucess using schema imports in wsdl.
if I use relative url(shema import) my deployment complains and if i use
absolute url for schema location wsdl2java fails.
DeploymentEngine complains that its not able to find the xsd file.

Iam loosing my patience here.

Iam assuming that axis2 does not support a basic feature of importing
schemas in the wsdl.






dharmendra3 wrote:
 
 When I try to import a schema with relative url,wsdl2ava is working fine
 but deployment is causing the problem saying that its not able to find the
 xsd file (It looks for xsd file from the domain root).
 
 If I use absolute url (schemalocation) wsdl2java is failing.
 
 
 Is this a bug with the wsdl4j,how can I resolve this.
 

-- 
View this message in context: 
http://www.nabble.com/-AXIS2---Importing-a-external-schema-in-WSDL-tf3884021.html#a11150477
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [AXIS2] Importing a external schema in WSDL

2007-06-15 Thread Ajith Ranabahu

Hi,
I have to admit that we had some problems with relative imports in
some *previous* releases. However the absolute URL's case always
worked.
So here are somethings you can try

1. Try using the latest release. Since it seems to work without a
problem for us its worth to try in your setting.

2. Please check whether you have any network restrictions, perhaps the
personal firewall ? Best thing is to see whether you can access the
URL by some other means, may be the browser. However this is not a
fool proof method since personal firewalls are likely to have
exceptions for programs such as the browser.

3. If non of this work a somewhat dirty solution would be to inline
the schemas in the WSDL.

Ajith

On 6/15/07, dharmendra3 [EMAIL PROTECTED] wrote:


Anyone had sucess using schema imports in wsdl.
if I use relative url(shema import) my deployment complains and if i use
absolute url for schema location wsdl2java fails.
DeploymentEngine complains that its not able to find the xsd file.

Iam loosing my patience here.

Iam assuming that axis2 does not support a basic feature of importing
schemas in the wsdl.






dharmendra3 wrote:

 When I try to import a schema with relative url,wsdl2ava is working fine
 but deployment is causing the problem saying that its not able to find the
 xsd file (It looks for xsd file from the domain root).

 If I use absolute url (schemalocation) wsdl2java is failing.


 Is this a bug with the wsdl4j,how can I resolve this.


--
View this message in context: 
http://www.nabble.com/-AXIS2---Importing-a-external-schema-in-WSDL-tf3884021.html#a11150477
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Ajith Ranabahu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [AXIS2] Importing a external schema in WSDL

2007-06-14 Thread Amila Suriarachchi

what is the axis2 version and the OS you use? I generated the code with full
path and it worked fine.
and it sets the paths in saved wsdl and schema files as well.

On 6/11/07, dharmendra3 [EMAIL PROTECTED] wrote:



i have attached the xsd and the wsdl files.



Amila Suriarachchi wrote:

 can you send your wsdl and your xsd files?

 On 6/7/07, dharmendra3 [EMAIL PROTECTED] wrote:


 When I try to import a schema with relative url,wsdl2ava is working
fine
 but
 deployment is causing the problem saying that its not able to find the
 xsd
 file (It looks for xsd file from the domain root).

 If I use absolute url (schemalocation) wsdl2java is failing.


 Is this a bug with the wsdl4j,how can I resolve this.
 --
 View this message in context:

http://www.nabble.com/-AXIS2---Importing-a-external-schema-in-WSDL-tf3884021.html#a11008452
 Sent from the Axis - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




 --
 Amila Suriarachchi,
 WSO2 Inc.


http://www.nabble.com/file/p11062282/transporter.xsd transporter.xsd
http://www.nabble.com/file/p11062282/PoetManagementService.wsdl
PoetManagementService.wsdl
--
View this message in context:
http://www.nabble.com/-AXIS2---Importing-a-external-schema-in-WSDL-tf3884021.html#a11062282
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Amila Suriarachchi,
WSO2 Inc.


Re: [AXIS2] Importing a external schema in WSDL

2007-06-14 Thread dharmendra3

Iam using Axis2 1.1.1 and OS is windows XP.
We are creating our own war file.
Its actually some WarBasedConfigurator which is not able to locate the .xsd
file.
Did you try with the wsdl ans xsd that I have sent.
Do I need to make any changes to them.
Ineed to resolve it asap.


Amila Suriarachchi wrote:
 
 what is the axis2 version and the OS you use? I generated the code with
 full
 path and it worked fine.
 and it sets the paths in saved wsdl and schema files as well.
 
 On 6/11/07, dharmendra3 [EMAIL PROTECTED] wrote:


 i have attached the xsd and the wsdl files.



 Amila Suriarachchi wrote:
 
  can you send your wsdl and your xsd files?
 
  On 6/7/07, dharmendra3 [EMAIL PROTECTED] wrote:
 
 
  When I try to import a schema with relative url,wsdl2ava is working
 fine
  but
  deployment is causing the problem saying that its not able to find the
  xsd
  file (It looks for xsd file from the domain root).
 
  If I use absolute url (schemalocation) wsdl2java is failing.
 
 
  Is this a bug with the wsdl4j,how can I resolve this.
  --
  View this message in context:
 
 http://www.nabble.com/-AXIS2---Importing-a-external-schema-in-WSDL-tf3884021.html#a11008452
  Sent from the Axis - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
  --
  Amila Suriarachchi,
  WSO2 Inc.
 
 
 http://www.nabble.com/file/p11062282/transporter.xsd transporter.xsd
 http://www.nabble.com/file/p11062282/PoetManagementService.wsdl
 PoetManagementService.wsdl
 --
 View this message in context:
 http://www.nabble.com/-AXIS2---Importing-a-external-schema-in-WSDL-tf3884021.html#a11062282
 Sent from the Axis - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 
 -- 
 Amila Suriarachchi,
 WSO2 Inc.
 
 

-- 
View this message in context: 
http://www.nabble.com/-AXIS2---Importing-a-external-schema-in-WSDL-tf3884021.html#a11121505
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [AXIS2] Importing a external schema in WSDL

2007-06-10 Thread Amila Suriarachchi

can you send your wsdl and your xsd files?

On 6/7/07, dharmendra3 [EMAIL PROTECTED] wrote:



When I try to import a schema with relative url,wsdl2ava is working fine
but
deployment is causing the problem saying that its not able to find the xsd
file (It looks for xsd file from the domain root).

If I use absolute url (schemalocation) wsdl2java is failing.


Is this a bug with the wsdl4j,how can I resolve this.
--
View this message in context:
http://www.nabble.com/-AXIS2---Importing-a-external-schema-in-WSDL-tf3884021.html#a11008452
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Amila Suriarachchi,
WSO2 Inc.