axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: schema imports in wsdl
Date Sun, 03 Jun 2007 17:44:36 GMT
I would suggest following the examples for constructing URI
http://java.sun.com/j2se/1.5.0/docs/api/java/net/URI.html

so lets say we have
file:///calendar

we know file specification
: is the separator
//   authority~listing the file's owner
/calendar is the path (assumes start at root)

On windows systems where the path is greater than 8 bytes long then one 
should use
the 'shortened name'
g. C:\Program Files becomes /PROGRA~1

Does this help?
Martin
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: "dharmendra3" <perisetlad@dteenergy.com>
To: <axis-user@ws.apache.org>
Sent: Sunday, June 03, 2007 12:40 PM
Subject: Re: schema imports in wsdl


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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message