Re: WSDL XSD Schema Importing...

2008-01-10 Thread Norman Barker
Hi,

are you trying to create an ebRIM CSW server, that is interesting -
sorry I missed your earlier emails - I have already run wsdl2java on
the ebrim wsdl files, I also tried doing this with Apache Tuscany -
works with Axis, not with Tuscany.

I don't think this is right forum for a discussion so perhaps we can
take this offline, but if your server solution is public domain then
that is interesting and I would like to know more

Just f.y.i. (again apologies since this is the wrong forum) omar is
spatial enabled -
http://ebxmlrr.sourceforge.net/wiki/index.php/Community/ogc.

Norman

On Jan 10, 2008 2:53 PM, silver17 [EMAIL PROTECTED] wrote:

 Hi Amila,

 Your solution was correct;  I replaced the Axis2 v1.3 libs with the nightly
 build (snapshot) libs and everything works fine.  The Eclipse plugins don't
 work, but if I use the WSDL2Java in the nightly build it works as I expected
 it to.


 Amila Suriarachchi wrote:
 
  can you please try with a nightly build? If you still getting the problem
  please send your wsdl.
 
  thanks,
  Amila.
 
  On Jan 10, 2008 3:33 AM, silver17 [EMAIL PROTECTED] wrote:
 
 
  Hi Guys,
 
  I've searched a lot of these forum posts and haven't been able to find a
  resolution to my problem.  Currently I am using Axis 2.1.3 and Eclipse
  Europa with the Apache Codegen wizard plugins.
 
  I created a WSDL that imports a couple of schemas and I'm having
  problems.
  When I attempt to use the wizards to generate the client stubs using a
  URL
  like:  http://localhost:8080/app/services/RegistryPublish?wsdl I get the
  following error:
 
  An error occured while completing process -
  java.lang.InterruptedException
  :
  WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema):
  faultCode=OTHER_ERROR: An error occurred while trying to resolve schema
  referenced at 'RegistryPublish?xsd=csw-Publication.xsd, relative to
  http://localhost:8080/app/services'http://localhost:8080/app/services%27.:

   java.io.FileNotFoundException:  This
  file was not found:
  http://localhost:8080/app/RegistryPublish?xsd=cs-Publication.xsd
 
  And I don't know why it's doing that.  Here's a sample of that wsdl:
 
  wsdl:definitions name=RegistryPublish
  targetNamespace=http://services.registry.company.com/publish/;
 wsdl:documentation
 WSDL Description for the Registry Publishing Service.
  /wsdl:documentation
 
 wsdl:types
xsd:schema
   xsd:import namespace=http://www.opengis.net/cat/csw/2.0.2;
  schemaLocation=RegistryPublish?xsd=csw-Publication.xsd/
 
   xsd:import namespace=http://www.opengis.net/ows/1.1;
  schemaLocation=RegistryPublish?xsd=owsExceptionReport.xsd/
/xsd:schema
 /wsdl:types
  ...
 
  My web app directory structure is:
 
  app-web-inf-services-RegistryPublish-META-INF
  ...
  csw-Publication.xsd
  owsExceptionReport.xsd
  RegistryPublish.wsdl
  services.xml
 
  I tried using a program called SOAPUI to run a test request to that same
  url
  as above and it returned a successful result.
 
  Any thoughts?  I've attached the files.
  http://www.nabble.com/file/p14722764/RegistryPublish.wsdl
  RegistryPublish.wsdl
  http://www.nabble.com/file/p14722764/services.xml services.xml
  http://www.nabble.com/file/p14722764/owsExceptionReport.xsd
  owsExceptionReport.xsd
  http://www.nabble.com/file/p14722764/csw-Publication.xsd
  csw-Publication.xsd
 
 
 
  --
  View this message in context:
  http://www.nabble.com/WSDL-XSD-Schema-Importing...-tp14722764p14722764.html
  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/WSDL-XSD-Schema-Importing...-tp14722764p14744671.html

 Sent from the Axis - User mailing list archive at Nabble.com.


 -
 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]



Re: wsdl import failing with wsdl2java axis2-1.3

2007-10-04 Thread Norman Barker
Hi Anna, Amila,

thank you for your help.  Updating to the nightly build fixed the
problem of the imports, now I have to work out my next step!

thanks,

Norman

On 10/4/07, Anne Thomas Manes [EMAIL PROTECTED] wrote:
 Norman,

 Did you copy the ebXML RIM WSDL and schema files to your local directory?
 The WSDL location attribute uses a relative URL
 (ebXMLRegistryBindings.wsdl), therefore you need to copy the files to
 your local directory.

 Anne

 On 10/4/07, Norman Barker [EMAIL PROTECTED] wrote:
  Hi,
 
  I am using the ebRIM wsdl file here
  http://www.oasis-open.org/committees/regrep/documents/3.0/services/ebXMLRegistryServices.wsdl
 
  which I can't really change and all I have done is make it validate in
  eclipse by changing soap:body part to soap:body parts in
  ebXMLregistrybindings.wsdl.
 
  When I run wsdl2java I get the error There is no port type associated
  with the binding which I believe is related to the use of import
  statements in the first wsdl.
 
  Is there a workaround for this, anyone successfully run this wsdl
  through the code generator?
 
  thanks,
 
  Norman
 
  -
  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]



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



wsdl import failing with wsdl2java axis2-1.3

2007-10-03 Thread Norman Barker
Hi,

I am using the ebRIM wsdl file here
http://www.oasis-open.org/committees/regrep/documents/3.0/services/ebXMLRegistryServices.wsdl

which I can't really change and all I have done is make it validate in
eclipse by changing soap:body part to soap:body parts in
ebXMLregistrybindings.wsdl.

When I run wsdl2java I get the error There is no port type associated
with the binding which I believe is related to the use of import
statements in the first wsdl.

Is there a workaround for this, anyone successfully run this wsdl
through the code generator?

thanks,

Norman

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



axis2 MTOM file cache bug

2006-03-01 Thread Norman Barker
Title: axis2 MTOM file cache bug






Hi,

I am working with MTOM and Axis2 using the samples to save a file on the server that is uploaded from the client. I have added the file caching properties to axis2.xml.

It seems that if a file is large than 4mb (as detailed in axis2.xml) it will drop 2 bytes for each 4mb of the file uploaded so that the final file isn't valid. For example upload a 6mb tiff, then the GIMP will display some of the file but complain about the missing two bytes.

Is this a simple fix that I can make, not sure where the file cache code is I am using the source 0.95 from Subversion but it is the same with 0.94.

Many thanks,

Norman