Re: Reference to external schema in wsdl broken

2007-08-18 Thread Anne Thomas Manes
Take the generated WSDL, edit the schema location to specify the
absolute URL, and redeploy the service with your modified WSDL.

Anne

On 8/17/07, Jochen Rieß <[EMAIL PROTECTED]> wrote:
> Hello everybody.
>
> I'm facing a little problem with the codegen tool in Axis2 1.3
> My wsdl file imports a schema, code snippet follows:
>
>  xmlns="http://www.w3.org/2001/XMLSchema";
> targetNamespace="http://gueter.evision.de/GueterGUI/";>
>  schemaLocation="datatypes.xsd">
> 
>   [..]
>
> Using the codegen tool provides me with a modified wsdl which looks like..
>
>  targetNamespace="http://gueter.evision.de/GueterGUI/";
> xmlns="http://www.w3.org/2001/XMLSchema";>
> 
> 
>   [..]
>
> The schema has been properly copied into xsd0.xsd. Everything right
> until I deploy the service..
> When getting the wsdl from the running axis2 instance it looks like:
>
>  attributeFormDefault="unqualified"
> elementFormDefault="unqualified"
> targetNamespace="http://gueter.evision.de/GueterGUI/";>
>
> 
> [...]
>
> Using this wsdl one cannot generate code, because the schemaLocation is
> relative to the service location. (In the codegen process the schema
> cannot be found)
> Replacing the last line with an absolute url pointing to the schema
> fixes that problem.
>
> My Question is: What can I do to have the wsdl file sent by the running
> axis2 instance be able to compile out of the box?
>
> Thanks in advance!
> Jochen Rieß
>
>
>
> -
> 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: Implementing WS from SAP generated WSDL

2007-08-18 Thread Anne Thomas Manes
Use TCPmon to capture the SOAP message and compare it against the
schema defined in the WSDL.

Anne

On 8/17/07, sjtirtha <[EMAIL PROTECTED]> wrote:
> Unfortunately, I can NOT post you the wsdl
>
> I forgot to put "NOT" in my sentence.
>
> Steve
>
>
>
> On 8/17/07, sjtirtha <[EMAIL PROTECTED]> wrote:
> >
> > Unfortunately, I can post you the wsdl. It looks like a standard WSDL that
> is separated into 3 files, as I mentioned before.
> >
> > I did try to validate the wsdl, there is no error. At least what I see in
> Eclipse on the bottom right, that eclipse does "WSDL validation" after that
> there is no message at all.
> >
> > Steve
> >
> >
> >
> > On 8/17/07, Lahiru Sandakith <[EMAIL PROTECTED] > wrote:
> > > would you be able to post the wsdl, so that we can verify it with the
> steps that you have followed. Did you tried validating the wsdl through WTP?
> > > Thanks
> > > Lahiru
> > >
> > >
> > >
> > > On 8/17/07, sjtirtha <[EMAIL PROTECTED]> wrote:
> > > > Hi,
> > > >
> > > > I'm trying to implement WS from SAP generated WSDL. Actually I'm using
> Eclipse WTP, which is Axis integrated.
> > > > Special structure of SAP WSDL is that it contains 3 files. One is the
> service definition, the second is the binding definition, the third is the
> porttype, datatype, and message definition.
> > > > The first file imports the second file and the second file import the
> third file.
> > > > Eclipse WTP can creates the java skeleton from this SAP WSDL. Than I
> implemented one of the operation. When I invoke this operation, I get this
> error:
> > > >
> > > > Caused by: org.xml.sax.SAXException: SimpleDeserializer encountered a
> child element, which is NOT expected, in something it was trying to
> deserialize.
> > > >
> > > > I look into the java classes, all classes are created. So there is no
> missing classes. Does Axis able to use WSDL file that imports another file ?
> > > >
> > > >
> > > > Steve
> > > >
> > >
> > >
> > >
> > > --
> > > Thanks
> > > Lahiru Sandakith
> > >
> > > http://sandakith.wordpress.com/
> > > GPG Key Fingerprint : 8CD8 68E0 4CBC 75CB 25BC  1AB1 FE5E 7464 1F01 9A0F
> >
> >
>
>

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



Re: web service libraries in C++

2007-08-18 Thread Anne Thomas Manes
There's also Axis C++ (http://ws.apache.org/axis/cpp/)
and Axis2/C (http://ws.apache.org/axis2/c/)

Anne

On 8/17/07, cara <[EMAIL PROTECTED]> wrote:
> We have used gsoap for a scientific C++ app. The documentation is very good.
> Our app runs on Solaris and Windows(using mingw). Our gsoap client talks to
> an Axis java web service. It was ahead of AxisCpp when we investigated
> packages.
>
>  http://www.cs.fsu.edu/~engelen/soap.html
>
>
> On 8/17/07, Frank Zhou <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I am searching for a AXIS-like library implemented in
> > C++ (My application is in C++). Ideally, it will
> > supports web services standards like SOAP/WSDL et
> > cetera (just like AXIS), and is available in different
> > platforms like windows, linux and unix. If anyone
> > knows of such a library, would you please let me know?
> > If you know of several, your opinions on them are also
> > much appreciated.
> >
> > Thanks much in advance.
> >
> > Frank
> >
> >
> >
> >
> 
> > Sick sense of humor? Visit Yahoo! TV's
> > Comedy with an Edge to see what's on, when.
> > http://tv.yahoo.com/collections/222
> >
> >
> -
> > 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: WS unable to handle < and > in SOAP request

2007-08-18 Thread Anne Thomas Manes
How are you generating the SOAP request?
(please provide client code)

Anne

On 8/18/07, Manas Ranade <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi,
>
>
>
> We are communicating with Apache Axis using an AJAX client and sending
> following request (I've cut it short in between):
>
>
>
>  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
>
> http://service.mdm.sysco.com";
> xmlns:ns="http://service.mdm.sysco.com";>4 xsi:type="SOAP-ENC:Array"> xsi:type='ns:ForeignKeyColumnData'>…
>  xsi:type="SOAP-ENC:Array"> xsi:type='ns:FilterColumnData'>… xsi:type="SOAP-ENC:Array"> xsi:type='ns:ReturnColumnData'>…
> YES1 xsi:type="SOAP-ENC:Array">…
> 
>
> 
>
>
>
> There are 6 elements getting passed:
>
> batchSize – integer
>
> foreignKeyData – SOAP Array
>
> inColumnsData – SOAP Array
>
> outColumnsData – SOAP Array
>
> paginationReq – string
>
> startCount – integer
>
> tables – SOAP Array
>
>
>
> As you can see the < and > are getting converted to < and > for all
> SOAP Arrays.
>
> Is this a problem for Axis? We are getting HTTP 500 response back from web
> service.
>
> Is there any web service level configuration that might enable handling of
> these tags?
>
>
>
> Appreciate your help,
>
> Manas
>
>
>
>

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



Patricia Bechtol is out of the office.

2007-08-18 Thread Patricia Bechtol

I will be out of the office starting  08/18/2007 and will not return until
08/27/2007.

I will respond to your message when I return.


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



When is 'public void destroy(ServiceContext serviceContext) {...}' called?

2007-08-18 Thread Jochen Rieß

Hello again,

I got a little question concerning the method public void 
destroy(ServiceContext serviceContext) inside a service-class.


- When I have my service scope set to "request" - Is it right that this 
Method will never be called? I expected it to be called whatever scope 
is set.. Is it advisable to let my service implementation call this 
method on their own?


This 'feature' really gave me a headache today, If anybody knows why it 
behaves like that I would really like to hear from you.


Thanks,
Jochen

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



WS unable to handle < and > in SOAP request

2007-08-18 Thread Manas Ranade
Hi,

 

We are communicating with Apache Axis using an AJAX client and sending
following request (I've cut it short in between):

 

http://schemas.xmlsoap.org/soap/envelope/";
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>

http://service.mdm.sysco.com";
xmlns:ns="http://service.mdm.sysco.com";>4...
......
YES<
startCount>1...




 

There are 6 elements getting passed:

batchSize - integer

foreignKeyData - SOAP Array

inColumnsData - SOAP Array

outColumnsData - SOAP Array

paginationReq - string

startCount - integer

tables - SOAP Array

 

As you can see the < and > are getting converted to < and > for
all SOAP Arrays.

Is this a problem for Axis? We are getting HTTP 500 response back from
web service.

Is there any web service level configuration that might enable handling
of these tags?

 

Appreciate your help,

Manas

 

 



Re: Originating IP Address

2007-08-18 Thread david
Hello Swavek, my guess is a lot of people are wondering what type of  your 
deployment is running? Hardware is not crucial but you should reply with 
something like the following:

OS: rh7.2 or WIN2003/2008 or Solaris or some OS.
Tomcat: 5.x.x
Network: eth0 -> 192.168.1.1, eth0:0 -> 192.168.1.2(virtual), eth1 -> 
192.168.1.3
Hosts file: 192.168.1.1 swavek, 192.168.1.2 devbox
Hostname: swavek
DNS: swavek.zone (master), devbox.zone (slave)
nameservers: ns.swavek.?

HTH, David

Swavek Skret wrote ..
> Hello,
> 
> I have a multiple IP addresses on my deployment computer and bind Tomcat
> to
> one of the virtual IP addresses (server.xml file address attribute for
> Http
> Connector). This setting defines the inbound routing: only the virtual
> IP
> address destined traffic gets to Tomcat. 
> 
> However any traffic originating from my axis2 application deployed on Tomcat
> has the originating IP address of physical IP address of my deployment
> computer and not the virtual IP address. Does anyone know how to configure
> the originating IP address of the outbound traffic to be that of the virtual
> IP address?
> 
> Thanks,
> 
> Swavek
> 
> 
> 
> 
> 
> -
> 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]