You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Amila Suriarachchi <am...@gmail.com> on 2007/06/10 19:43:19 UTC

Re: [AXIS2] Importing a external schema in WSDL

can you send your wsdl and your xsd files?

On 6/7/07, dharmendra3 <pe...@dteenergy.com> 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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Re: [AXIS2] Importing a external schema in WSDL

Posted by Bryan Chen <Br...@efirstbank.com>.
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 <pe...@dteenergy.com> 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 <pe...@dteenergy.com> 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 <pe...@dteenergy.com> 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: axis-user-unsubscribe@ws.apache.org 
>> >> For additional commands, e-mail: axis-user-help@ws.apache.org 
>> >>
>> >>
>> >
>> >
>> > --
>> > 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: axis-user-unsubscribe@ws.apache.org 
>> For additional commands, e-mail: axis-user-help@ws.apache.org 
>>
>>
> 
> 
> -- 
> 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: axis-user-unsubscribe@ws.apache.org 
For additional commands, e-mail: axis-user-help@ws.apache.org 


>>> 

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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [AXIS2] Importing a external schema in WSDL

Posted by dharmendra3 <pe...@dteenergy.com>.
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 <pe...@dteenergy.com> 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 <pe...@dteenergy.com> 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: axis-user-unsubscribe@ws.apache.org
>> >> For additional commands, e-mail: axis-user-help@ws.apache.org
>> >>
>> >>
>> >
>> >
>> > --
>> > 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: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
> 
> 
> -- 
> 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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [AXIS2] Importing a external schema in WSDL

Posted by Amila Suriarachchi <am...@gmail.com>.
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 <pe...@dteenergy.com> 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 <pe...@dteenergy.com> 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: axis-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >>
> >>
> >
> >
> > --
> > 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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Re: [AXIS2] Importing a external schema in WSDL

Posted by dharmendra3 <pe...@dteenergy.com>.
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 <pe...@dteenergy.com> 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: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
> 
> 
> -- 
> 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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org