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
> 
> 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: 
> 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-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-11 Thread dharmendra3

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]



Re: Axis2 with XMLBeans multiple schemas

2007-06-07 Thread dharmendra3

Nadav,
  Were you able to deploy them successfully using adb using multiple
schemas.
I have been struggling with that.At deployment time its not able to find the
schema file.
Can you let me know how u are importing the schema.


Nadav Steindler-2 wrote:
> 
> When I run wsdl2java with the -d xmlbeans option on my wsdl, it works fine
> when the whole schema is in one file.  However when the schema is broken
> up into multiple files with import and include statements, it dies with a
> runtime exception.I looked at the xmlbeans site and its supposed to
> support this.Am I supposed to do something to get it to work with multiple
> files?(Incidentally the multiple files work fine when I run it with adb so
> its not that I made a mistake in my schema!)
> _
> Play free games, earn tickets, get cool prizes! Join Live Search Club. 
> http://club.live.com/home.aspx?icid=CLUB_wlmailtextlink
> 

-- 
View this message in context: 
http://www.nabble.com/Axis2-with-XMLBeans-multiple-schemas-tf3884032.html#a11008612
Sent from the Axis - User mailing list archive at Nabble.com.


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



[AXIS2] Importing a external schema in WSDL

2007-06-07 Thread dharmendra3

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]



[Axis2] Schema import support in wsdl

2007-06-05 Thread dharmendra3

Iam trying to import a schema in my wsdl,but it fails when i deploy the
service.
Its not able to find the xsd file.

my aar file contains the xsd files,but its looking for the xsd at the root
location (domain root).

Any help is greatly apprciated
-- 
View this message in context: 
http://www.nabble.com/-Axis2--Schema-import-support-in-wsdl-tf3873808.html#a10976142
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: Importing Schema in WSDL

2007-06-05 Thread dharmendra3

any luck with that.
Iam also facing the same problem



snehil wrote:
> 
>  
> 
> I am using Axis2 1.2.
> 
>   _  
> 
> From: keith chapman [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 30, 2007 2:37 PM
> To: axis-user@ws.apache.org
> Subject: Re: Importing Schema in WSDL
> 
>  
> 
> Which version of axis are you using?
> 
> Thanks,
> Keith.
> 
> On 5/30/07, snehil Brajpuriya <[EMAIL PROTECTED] > wrote:
> 
> Hi,
> I am importing ince scema in WSDL. Imported Scema inturn import some other
> schemas. They all are in propr location.FOlowing is the part of WSDL which
> imports schema -
> 
> -- 
> 
>   targetNamespace="urn:ifxforum-org:WSDL:1:PortType:types"
> xmlns:ifx="urn:ifxforum-org:XSD:1" 
>   xmlns:xsd=" 
> http://www.w3.org/2001/XMLSchema"; elementFormDefault="qualified">
>schemaLocation="IFX170.xsd"/> 
> 
> 
> 
>  
> 
> 
> 
> 
>  
> 
> 
> 
> 
>  
> 
> 
> 
> However when trying to create Java code from this WSDL  I am getting
> errors
> -
> 
> - 
> generate.service:
> [wsdl2java] Retrieving schema at 'IFX170_XSD.xsd', relative to
> 'file:/C:/axis2/s
> amples/IFX/resources/META-INF/'.
> [wsdl2java] Retrieving schema at 'RemitDetail_Type.xsd', relative to
> 'file:/C:/a 
> xis2/samples/IFX/resources/META-INF/IFX170_XSD.xsd'.
> 
> BUILD FAILED
> C:\axis2\samples\IFX\build.xml:56:
> org.apache.axis2.wsdl.codegen.CodeGenerationE
> xception: Error parsing WSDL
> 
>  
> Error I am getting seems to be to generic.  All files are present in the
> correct location. How can i get the exact point of error.
> 
> Thanks
> Snehil
> 
> 
> 
> 
> -- 
> Keith Chapman
> WSO2 Inc.
> Oxygen for Web Services Developers.
> http://wso2.org/ 
> 
> 
> http://www.patni.com
> World-Wide Partnerships. World-Class Solutions.
> _
> 
> This e-mail message may contain proprietary, confidential or legally
> privileged information for the sole use of the person or entity to
> whom this message was originally addressed. Any review, e-transmission
> dissemination or other use of or taking of any action in reliance upon
> this information by persons or entities other than the intended
> recipient is prohibited. If you have received this e-mail in error
> kindly delete  this e-mail from your records. If it appears that this
> mail has been forwarded to you without proper authority, please notify
> us immediately at [EMAIL PROTECTED] and delete this mail. 
> _
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Importing-Schema-in-WSDL-tf3838605.html#a10975715
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: schema imports in wsdl

2007-06-03 Thread dharmendra3

This is the exception that Iam getting.
Any help is greatly appreciated.

2007-06-03 04:15:01 ERROR [[STANDBY] ExecuteThread: '1' for queue:
'weblogic.kernel.Default (self-tuning)']
org.apache.axis2.description.WSDL11ToAxisServiceBuilderjavax.wsdl.WSDLException:
WSDLException (at /wsdl:definitions/wsdl:types/schema):
faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced
at 'transporter.xsd'.: java.io.FileNotFoundException: This file was not
found: file:/C:/bea91/user_projects/domains/mdmi_domain/transporter.xsd
2007-06-03 04:15:01 INFO  [[STANDBY] ExecuteThread: '1' for queue:
'weblogic.kernel.Default (self-tuning)']
org.apache.axis2.deployment.DeploymentEngineWSDLException (at
/wsdl:definitions/wsdl:types/schema): faultCode=OTHER_ERROR: An error
occurred trying to resolve schema referenced at 'transporter.xsd'.:
java.io.FileNotFoundException: This file was not found:
file:/C:/bea91/user_projects/domains/mdmi_domain/transporter.xsd; nested
exception is: 
javax.wsdl.WSDLException: WSDLException (at
/wsdl:definitions/wsdl:types/schema): faultCode=OTHER_ERROR: An error
occurred trying to resolve schema referenced at 'transporter.xsd'.:
java.io.FileNotFoundException: This file was not found:
file:/C:/bea91/user_projects/domains/mdmi_domain/transporter.xsd; nested
exception is: 
org.apache.axis2.AxisFault: WSDLException (at
/wsdl:definitions/wsdl:types/schema): faultCode=OTHER_ERROR: An error
occurred trying to resolve schema referenced at 'transporter.xsd'.:
java.io.FileNotFoundException: This file was not found:
file:/C:/bea91/user_projects/domains/mdmi_domain/transporter.xsd; nested
exception is: 
javax.wsdl.WSDLException: WSDLException (at
/wsdl:definitions/wsdl:types/schema): faultCode=OTHER_ERROR: An error
occurred trying to resolve schema referenced at 'transporter.xsd'.:
java.io.FileNotFoundException: This file was not found:
file:/C:/bea91/user_projects/domains/mdmi_domain/transporter.xsd


dharmendra3 wrote:
> 
> Iam importing a schema in my wsdl,but when i deploy the same it fails with
> a message that it is not able to find the .xsd file(file not found
> exception) under the root location (domain root from where i start the
> weblogic).
> XSD file is available in the aar file,but its not picking the from there.
> 
> Does axis2 (wsdl4j)support schema imports?.
> 
> 
> i am using axis2 1.1.1, also tried axis2 1.2.
> 

-- 
View this message in context: 
http://www.nabble.com/schema-imports-in-wsdl-tf3857566.html#a10938196
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: schema imports in wsdl

2007-06-02 Thread dharmendra3

i have attached my .aar file



dharmendra3 wrote:
> 
> Iam importing a schema in my wsdl,but when i deploy the same it fails with
> a message that it is not able to find the .xsd file(file not found
> exception) under the root location (domain root from where i start the
> weblogic).
> XSD file is available in the aar file,but its not picking the from there.
> 
> Does axis2 (wsdl4j)support schema imports?.
> 
> 
> i am using axis2 1.1.1, also tried axis2 1.2.
> 
http://www.nabble.com/file/p10934136/MeterManagementService.aar
MeterManagementService.aar 
-- 
View this message in context: 
http://www.nabble.com/schema-imports-in-wsdl-tf3857566.html#a10934136
Sent from the Axis - User mailing list archive at Nabble.com.


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



schema imports in wsdl

2007-06-02 Thread dharmendra3

Iam importing a schema in my wsdl,but when i deploy the same it fails with a
message that it is not able to find the .xsd file(file not found exception)
under the root location (domain root from where i start the weblogic).
XSD file is available in the aar file,but its not picking the from there.

Does axis2 (wsdl4j)support schema imports?.


i am using axis2 1.1.1, also tried axis2 1.2.
-- 
View this message in context: 
http://www.nabble.com/schema-imports-in-wsdl-tf3857566.html#a10928891
Sent from the Axis - User mailing list archive at Nabble.com.


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