RE: empty array of complex type crashes the client

2006-01-27 Thread Stettler, Robert
This problem sounds similar to ours.  Is the app crashing inside Axis
calls? Or is it crashing because the app dereferences null pointers.  On
Linux I get a NULL output object returned.  



-Original Message-
From: Guilhem Tardy [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 27, 2006 10:56 AM
To: axis-c-user@ws.apache.org
Subject: Re: empty array of complex type crashes the client

Adrian,

> Looking at your WSDL you're using rpc/literal style messages.

This was correct, until I made it all document/literal (of the "wrapped"
type,
so as to conform to WS-I.

  

  


  

  
  

  

  

  


  
  


http://test.wsdl#test"/>

(Please let me know if you wish to see the complete WSDL file.)

Unfortunately, the problem remains. I have tested with the server
returning
either of the following:

http://test.wsdl";>
http://test.wsdl";>

In both cases, the client crashes. This is unfortunate, because the
server is
expected to return no event in most cases.

Could you comment on the support for complex types in Axis C++?

Best regards,
Guilhem.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 







The information contained in this e-mail is confidential and/or proprietary

to Capital One and/or its affiliates. The information transmitted herewith

is intended only for use by the individual or entity to which it is 

addressed.  If the reader of this message is not the intended recipient, 

you are hereby notified that any review, retransmission, dissemination, 

distribution, copying or other use of, or taking of any action in reliance 

upon this information is strictly prohibited. If you have received this 

communication in error, please contact the sender and delete the material 

from your computer.





tcpmon

2006-01-27 Thread Stettler, Robert








Using Axis 1.5 and while testing using tcpmon against an IIS
.NET server I get an 200 error “host invalid”. 

 

The first request is successful but the second one
fails.  When I looked at the tcpmon input for the two requests I noticed
that the “Host:” element in the http headers for the two requests
were not the same.  

 

The first request had the “Target Host” that I
entered in tcpmon.  The second had the hostname where tcpmon was running. 
Essentially the host from the URL used to establish the client connection.

 

Is there a ways to control the “Host:”
element?  I looks like the server is looking at that field for either
routing or security or something?






The information contained in this e-mail is confidential and/or proprietary
to Capital One and/or its affiliates. The information transmitted herewith
is intended only for use by the individual or entity to which it is 
addressed.  If the reader of this message is not the intended recipient, 
you are hereby notified that any review, retransmission, dissemination, 
distribution, copying or other use of, or taking of any action in reliance 
upon this information is strictly prohibited. If you have received this 
communication in error, please contact the sender and delete the material 
from your computer.






RE: deserialization ??

2006-01-26 Thread Stettler, Robert
Not having followed all of the chain... so may not be related.  But I had 
issues where objects were returning NULL even though I could see them in the 
response via tcpmon.

In my case the server side wsdl changed and added fields.  The client side did 
not get regenerated.  So everything after the newly added field was returned as 
NULL.  I obtained a new wsdl from the server and regened the client and 
problems were resolved.

-Original Message-
From: Primož Führer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 26, 2006 2:38 AM
To: Apache AXIS C User List
Subject: Re: deserialization ??

... found out any about deserializating complex object...? :-)


- Original Message - 
From: "Adrian Dick" <[EMAIL PROTECTED]>
To: "Apache AXIS C User List" 
Sent: Tuesday, January 24, 2006 3:02 PM
Subject: Re: deserialization ??


> Hi,
>
> As has been suggested, it sounds like the deserializer has returned NULL,
> for a value (based on the code) which cannot be NULL.
> I can see from your SOAP message that a value is present, so something
must
> have happened in the deserializer.
>
> Can you provide the WSDL and SOAP request/responses messages to allow us
to
> further diagnose the cause?
>
>
> Adrian
> ___
> Adrian Dick ([EMAIL PROTECTED])
>
>
> Tomaž Rotovnik <[EMAIL PROTECTED]> wrote on 24/01/2006 13:39:42:
>
> > Then just first test if p_idInstalacije is NULL (I did so).
> >
> > I beleive that "idInstalacije" should not be null, because you send
> > some value. I think I also have some problems with correct order of
> > sending parameters. In your case you need to have the next order of
> > sending parameters:
> >
> > idInstalacije
> > idUsr
> > jezik
> > shema
> >
> > If you have that order than the problem could be in xsd__int
> > variable. You should check max and min value that can be asigned (I
> > have problems with that also)
> >
> >
> >
> > - Original Message -
> > From: Primož Führer
> > To: Apache AXIS C User List
> > Sent: Tuesday, January 24, 2006 10:48 AM
> > Subject: Re: deserialization ??
> >
> > The problem occurs just before delete variable, when it tries to set
> > param->idInstalacije = *p_idInstalacije, because p_idInstalacije has
> > value null because of the line :
> > xsd__int* p_idInstalacije = (pIWSDZ->getElementAsInt
> >
> > whole method:
> >
> > int Axis_DeSerialize_UserPrijava(UserPrijava* param,
> > IWrapperSoapDeSerializer* pIWSDZ)
> > {
> >  try
> >  {
> >   xsd__int* p_idInstalacije =
> (pIWSDZ->getElementAsInt("idInstalacije",0));
> >   param->idInstalacije = *p_idInstalacije; //Error occurs here
> > delete p_idInstalacije;
> >   xsd__int* p_idUsr = (pIWSDZ->getElementAsInt("idUsr",0));
> >   param->idUsr = *p_idUsr;
> >   delete p_idUsr;
> >   xsd__int* p_jezik = (pIWSDZ->getElementAsInt("jezik",0));
> >   param->jezik = *p_jezik;
> >   delete p_jezik;
> >   param->shema = pIWSDZ->getElementAsString("shema",0);
> >
> >  }
> > - Original Message -
> > From: Tomaž Rotovnik
> > To: Apache AXIS C User List
> > Sent: Tuesday, January 24, 2006 10:39 AM
> > Subject: Re: deserialization ??
> >
> > Hi
> >
> > The problem is in deleting allocated variables (calling delete or free)
> >
> > The code should also be compiled as Multithreaded or Singlethreaded
> > DLL (run time library options).
> >
> >
> >
> > - Original Message -
> > From: Primož Führer
> > To: Apache AXIS C User List
> > Sent: Tuesday, January 24, 2006 10:30 AM
> > Subject: deserialization ??
> >
> > i'm using web service for login, when i invoke it it creates next
> > request and get response:(As response must return id_usr = 30 ,
> > id_instalacije = 0,jezik = 1)
> >
> > problem is in deserialization(i think) where gives exception...
> > acces violation at 0x05. as it seems the client don't get back
> > values... What could be wrong:
> >
> > REQUEST
> > -
> >
> > POST /idoc/services/Prijava HTTP/1.1
> >
> > Host: 192.168.0.210:8080
> >
> > Content-Type: text/xml; charset=UTF-8
> >
> > SOAPAction: ""
> >
> > Content-Length: 462
> >
> >
> >
> > 
> >  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/
> > " xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http:
> > //www.w3.org/2001/XMLSchema-instance">
> > 
> >  xmlns:ns1="http://192.168.0.210:8080/idoc/services/Prijava";>
> > primozf
> > primozf
> > 
> > 
> > 
> >
> > RESPONSE
> > 
> >
> > HTTP/1.1 200 OK
> >
> > Content-Type: text/xml; charset=utf-8
> >
> > Transfer-Encoding: chunked
> >
> > Date: Tue, 24 Jan 2006 09:22:14 GMT
> >
> > Server: Apache Coyote/1.0
> >
> >
> >
> > 3ab
> >
> > http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.
> > org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
> > ">http://192.168.0.
> > 210:8080/idoc/services/Prijava">
> > 0
> > http://schemas.
> > xmlsoap.org/soap/encoding/">30
> > http://schemas.
> > xmlsoap.org/soap/encoding/">1
> >   

Commercial use

2006-01-03 Thread Stettler, Robert








Are any of
you using Axis C++ in commercial applications? If so how has it been? Are there
any 3rd party companies that you know of that pick up support such
as Red Hat etc?






The information contained in this e-mail is confidential and/or proprietary
to Capital One and/or its affiliates. The information transmitted herewith
is intended only for use by the individual or entity to which it is 
addressed.  If the reader of this message is not the intended recipient, 
you are hereby notified that any review, retransmission, dissemination, 
distribution, copying or other use of, or taking of any action in reliance 
upon this information is strictly prohibited. If you have received this 
communication in error, please contact the sender and delete the material 
from your computer.






RE: axis_c++ client for a java web service for "dummies"

2005-12-22 Thread Stettler, Robert








Not sure if the other guys have already
responded….

 

Axiscpp_client is a shared library in
axis.  In my installation it actually exists in /lib/axis
and not in the /lib.   Maybe I am non-standard for
some reason but I did not think so.

 

The –L portion of the g++ command
tells the linker where to find the library.  The file it is looking for is
actually named libaxis_client.so.  The lib prefix and the .so suffix are
assumed by the linker so you leave them off in the g++ command just as the doc
stated.  Locate the libaxis_client.so library under axis, use that
directory in the –L option.  If you are not UNIX savvy you can use 
find  -name libaxis_client.so –print to locate
the library.

 

 

 

-Original Message-
From: Ruth del Campo
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 22, 2005
12:31 PM
To: 'Apache AXIS C User List'
Cc: [EMAIL PROTECTED]
Subject: AW: axis_c++ client for a
java web service for "dummies"

 

Hi John, all 

 

Thanks again
for your guide. I have tried it to develop a client for the calculator example
today. However, I’m currently having a problem in the step of building
the client.  It is writtenin the guide that the command to execute is: 

g++ *.cpp
-I/include -L/lib -ldl -laxiscpp_client –ocalculator  

 

but I cannot
build it because I do not know what is “axiscpp_client”.  It
is not specified at the document what this is, and as I said, I am new to c++.
I know it should be a library…but, which library? Sorry if this is too
obvious….

By the way,
the rest was quite straight forward with the user guide…

Thank you very
much

Best regards, 

Ruth

 









Von:
John Hawkins [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 20. Dezember
2005 16:05
An: Apache
AXIS C User List
Betreff: Re: axis_c++ client for a
java web service for "dummies"



 


Hi, 

I've written a different version of the docs for users
(which unfortunately is not on the website, yet) that hopefully gives you a
better idea of what to do when you have the service. 


Please ty this out and see how you get on. 


cheers, 
John. 






 
  
  "Ruth del Campo"
  <[EMAIL PROTECTED]> 
  20/12/2005
  14:21 
  
   

Please respond
to
"Apache AXIS C User List"

   
  
  
  
  
  
   

To


 

   
   

cc


 

   
   

Subject


axis_c++ client for a java web service for
"dummies"

   
  
   
  
   

 


 

   
  
  
  
 





Hi all 
  
I have developed a java web service with the help of the
axis library. 
Now, I want to develop a c++ client for that web service.
  
Since I haven’t programmed before in c++ but only in
Java, I find it quite difficult to start doing it. Sorry if my questions seem
very stupid or dummy. 
I would like to know, what parts of the axis c++ library I
need for developing a c++ client..and if there is some tutorial about it more
than the one I found in apache (the one with the calculator example) since for
that I need to develop a c++ web service (which I would not like it, since I
already have mine in Java) 
  
Thank you very much in advantage. 
Kind regards and merry Christmas! 
Ruth 
  
  










The information contained in this e-mail is confidential and/or proprietary

to Capital One and/or its affiliates. The information transmitted herewith

is intended only for use by the individual or entity to which it is 

addressed.  If the reader of this message is not the intended recipient, 

you are hereby notified that any review, retransmission, dissemination, 

distribution, copying or other use of, or taking of any action in reliance 

upon this information is strictly prohibited. If you have received this 

communication in error, please contact the sender and delete the material 

from your computer.








RE: Memory leaks

2005-12-22 Thread Stettler, Robert








Gotcha.  Thanks.

 

-Original Message-
From: John Hawkins
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 22, 2005
8:12 AM
To: Apache AXIS C User List
Subject: RE: Memory leaks

 


I mean we think it's the way we use the parser i.e. we
think it's our code not xerces itself but we haven't done enough investigation
ot confirm. 






 
  
  "Stettler, Robert"
  <[EMAIL PROTECTED]> 
  22/12/2005 13:05 
  
   

Please
respond to
"Apache AXIS C User List"

   
  
  
  
  
  
   

To


"Apache AXIS C User List"
 

   
   

cc


 

   
   

Subject


RE: Memory leaks

   
  
   
  
   

 


 

   
  
  
  
 





When you say parser layer, do you mean the way
Axis’ uses the parser is causing leaks, or the parser itself it leaking?
 I am using Xerces parser myself in my code and if it is leaking it is
very slow.  I ran a loop for 5 minute or so and no leak showed up.

  
When I run the axis sample in a loop the leak is constant and
shows up quickly and does not level off.  It leaks more the larger the
response document is which makes sense if guess if it is in the parser layer.

  
  
-Original
Message-
From: John Hawkins [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 21, 2005 4:49 AM
To: Apache AXIS C User List
Subject: Re: Memory leaks 
  

We are aware that we have some memory leaks in xerces parser layer. Please also
be aware that the memory model has changed substantially in 1.6 and that this
release should have far fewer leaks. 




 
  
  "Stettler, Robert"
  <[EMAIL PROTECTED]> 
  21/12/2005 02:24 
   
  
   

Please
respond to
"Apache AXIS C User List"

   
  
  
  
  
   
  
   

To


"Apache AXIS C User List"
 

   
   

cc


  

   
   

Subject


Memory leaks

   
  
  
    
   
  
   

  


 

   
  
  
  
 






I am using 1.5 final.  It seems to be leaking.  I am deleting objects
returned by generated stubs and I delete the Soap object when I am done with
it.  Is there any other clean up that is required? 








The information contained in this e-mail is confidential and/or proprietary

to Capital One and/or its affiliates. The information transmitted herewith

is intended only for use by the individual or entity to which it is 

addressed.  If the reader of this message is not the intended recipient, 

you are hereby notified that any review, retransmission, dissemination, 

distribution, copying or other use of, or taking of any action in reliance 

upon this information is strictly prohibited. If you have received this 

communication in error, please contact the sender and delete the material 

from your computer.








The information contained in this e-mail is
confidential and/or proprietary

to Capital One and/or its affiliates. The
information transmitted herewith

is intended only for use by the individual or
entity to which it is 

addressed.  If the reader of this message is
not the intended recipient, 

you are hereby notified that any review,
retransmission, dissemination, 

distribution, copying or other use of, or taking
of any action in reliance 

upon this information is strictly prohibited. If
you have received this 

communication in error, please contact the sender
and delete the material 

from your computer.













The information contained in this e-mail is confidential and/or proprietary

to Capital One and/or its affiliates. The information transmitted herewith

is intended only for use by the individual or entity to which it is 

addressed.  If the reader of this message is not the intended recipient, 

you are hereby notified that any review, retransmission, dissemination, 

distribution, copying or other use of, or taking of any action in reliance 

upon this information is strictly prohibited. If you have received this 

communication in error, please contact the sender and delete the material 

from your computer.








RE: Memory leaks

2005-12-22 Thread Stettler, Robert








When you say parser layer, do you mean the
way Axis’ uses the parser is causing leaks, or the parser itself it
leaking?  I am using Xerces parser myself in my code and if it is leaking
it is very slow.  I ran a loop for 5 minute or so and no leak showed up.

 

When I run the axis sample in a loop the
leak is constant and shows up quickly and does not level off.  It leaks
more the larger the response document is which makes sense if guess if it is in
the parser layer.

 

 

-Original Message-
From: John Hawkins
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 21, 2005
4:49 AM
To: Apache AXIS C User List
Subject: Re: Memory leaks

 


We are aware that we have some memory leaks in xerces
parser layer. Please also be aware that the memory model has changed
substantially in 1.6 and that this release should have far fewer leaks.







 
  
  "Stettler, Robert"
  <[EMAIL PROTECTED]> 
  21/12/2005 02:24 
  
   

Please
respond to
"Apache AXIS C User List"

   
  
  
  
  
  
   

To


"Apache AXIS C User List"
 

   
   

cc


 

   
   

Subject


Memory leaks

   
  
   
  
   

 


 

   
  
  
  
 





I am using 1.5 final.  It seems to be leaking.  I am deleting
objects returned by generated stubs and I delete the Soap object when I am done
with it.  Is there any other clean up that is required? 








The information contained in this e-mail is
confidential and/or proprietary

to Capital One and/or its affiliates. The
information transmitted herewith

is intended only for use by the individual or
entity to which it is 

addressed.  If the reader of this message is
not the intended recipient, 

you are hereby notified that any review,
retransmission, dissemination, 

distribution, copying or other use of, or taking
of any action in reliance 

upon this information is strictly prohibited. If
you have received this 

communication in error, please contact the sender
and delete the material 

from your computer.













The information contained in this e-mail is confidential and/or proprietary

to Capital One and/or its affiliates. The information transmitted herewith

is intended only for use by the individual or entity to which it is 

addressed.  If the reader of this message is not the intended recipient, 

you are hereby notified that any review, retransmission, dissemination, 

distribution, copying or other use of, or taking of any action in reliance 

upon this information is strictly prohibited. If you have received this 

communication in error, please contact the sender and delete the material 

from your computer.








Memory leaks

2005-12-20 Thread Stettler, Robert








I am using 1.5 final.  It seems to be leaking.  I am
deleting objects returned by generated stubs and I delete the Soap object when I
am done with it.  Is there any other clean up that is required?










The information contained in this e-mail is confidential and/or proprietary

to Capital One and/or its affiliates. The information transmitted herewith

is intended only for use by the individual or entity to which it is 

addressed.  If the reader of this message is not the intended recipient, 

you are hereby notified that any review, retransmission, dissemination, 

distribution, copying or other use of, or taking of any action in reliance 

upon this information is strictly prohibited. If you have received this 

communication in error, please contact the sender and delete the material 

from your computer.








RE: stub transport

2005-12-19 Thread Stettler, Robert
Sweet!  Exactly what I was looking for.

-Original Message-
From: Adrian Dick [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 19, 2005 5:45 AM
To: Apache AXIS C User List
Subject: RE: stub transport

Hi,

Here are some simple instruction on using the MockServer utility we use
for
testing Axis c++ client without a server.
   Compile mock server java code (found within /tests/utils/monitor )
   Run the mock server:
   java org.apache.test.MockServer -p  -r 

The server response file is a text file containing the full HTTP
response,
it will look something like this:
   HTTP/1.1 200 OK
   Server: WebSphere Application Server/5.1
   Content-Type: text/xml; charset=utf-8
   Content-Language: en-GB
   Transfer-Encoding: chunked

   1ad
   
   http://schemas.xmlsoap.org/soap/envelope/";
   xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
   xmlns:xsd="http://www.w3.org/2001/XMLSchema";
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><
soapenv:Body>http://localhost/axis/Calculator";>5
   0


The easiest way to generate this file is to capture the communication
from
a real server but if that isn't possible you will need to generate by
hand
(plenty of examples within /test/auto_build/testcases/output
)
Rather than providing the specific chunk size (1ad, on the line ahead of
the payload) you can provide ### and the MockServer will calculate the
correct size.

If your testcase makes multiple calls to the web service, you can simply
append all the requests (in the correct order!) within the server
response
file.

Once the test has been completed you need to run the following:
   java org.apache.test.StopTCPMonitor -p  -h 

I hope that is of help
Adrian

_______
Adrian Dick ([EMAIL PROTECTED])


"Stettler, Robert" <[EMAIL PROTECTED]> wrote on 16/12/2005
14:00:42:

> I have 1.5 Final source.
>
> -Original Message-
> From: John Hawkins [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 16, 2005 5:09 AM
> To: Apache AXIS C User List
> Subject: RE: stub transport
>
>
> hi Robert,
>
> no docs as it's an internal tool used within the test framework. Do
> you use the source or binaries? It's not shipped with the binaries..
>
>

>
> "Stettler, Robert" <[EMAIL PROTECTED]>
> 14/12/2005 16:51
>
> Please respond to
> "Apache AXIS C User List"
>
> To
>
> "Apache AXIS C User List" 
>
> cc
>
>
>
> Subject
>
> RE: stub transport
>
>
>
>
>
>
>
>
>
>
> I am looking for a simple solution to simulate the server side, so
> that I can test my client code completely.  I know I can create
> apache stubs and I have generated stubs in WebLogic, but I am
> looking for something simpler.
>
>
> You meantioned a unit test system?  Can you point me to some doc?
>
> -Original Message-
> From: John Hawkins [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 14, 2005 11:40 AM
> To: Apache AXIS C User List
> Subject: Re: stub transport
>
>
> hi Robert,
> sorry unit testing of what - the service? So you want to emulate a
> client? We currently have a "unit test" system where we can emulate
> the service.
>
> "Stettler, Robert" <[EMAIL PROTECTED]>
> 14/12/2005 14:37
>
>
> Please respond to
> "Apache AXIS C User List"
>
>
>
> To
>
> 
>
> cc
>
>
>
> Subject
>
> stub transport
>
>
>
>
>
>
>
>
>
>
>
>
>
> Is there any sort of stub http transport? Maybe something file
> driven?  I would like to use something like that for unit testing?
>
>
>
>
>
> The information contained in this e-mail is confidential and/or
proprietary
> to Capital One and/or its affiliates. The information transmitted
herewith
> is intended only for use by the individual or entity to which it is
> addressed.  If the reader of this message is not the intended
recipient,
> you are hereby notified that any review, retransmission,
dissemination,
> distribution, copying or other use of, or taking of any action in
reliance
> upon this information is strictly prohibited. If you have received
this
> communication in error, please contact the sender and delete the
material

> from your computer.
>
>
>
> The information contained in this e-mail is confidential and/or
proprietary
> to Capital One and/or its affiliates. The information transmitted
herewith
> is intended only for use by the individual or entity to which it is
> addressed.  If the reader of this message is not the intended
recipient,
> you are hereby notified that any review, retransmission,
dissemination,
> distribution, copying or other use of, or

RE: stub transport

2005-12-16 Thread Stettler, Robert








I have 1.5 Final source.

 

-Original Message-
From: John Hawkins [mailto:[EMAIL PROTECTED]

Sent: Friday, December 16, 2005
5:09 AM
To: Apache AXIS C User List
Subject: RE: stub transport

 


hi Robert, 

no
docs as it's an internal tool used within the test framework. Do you use the
source or binaries? It's not shipped with the binaries.. 






 
  
  "Stettler, Robert"
  <[EMAIL PROTECTED]> 
  14/12/2005 16:51 
  
   

Please
respond to
"Apache AXIS C User List"

   
  
  
  
  
  
   

To


"Apache AXIS C User List"
 

   
   

cc


 

   
   

Subject


RE: stub transport

   
  
   
  
   

 


 

   
  
  
  
 





I am looking for a simple solution to simulate
the server side, so that I can test my client code completely.  I know I
can create apache stubs and I have generated stubs in WebLogic, but I am
looking for something simpler. 
  
  
You meantioned a unit test system?  Can you point me to
some doc? 
  
-Original
Message-
From: John Hawkins [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 14, 2005 11:40 AM
To: Apache AXIS C User List
Subject: Re: stub transport 
  

hi Robert, 
sorry unit testing of what - the service? So you want to emulate a client? We
currently have a "unit test" system where we can emulate the service.



 
  
  "Stettler, Robert"
  <[EMAIL PROTECTED]> 
  14/12/2005 14:37 
   
  
   

Please
respond to
"Apache AXIS C User List"

   
  
  
  
  
   
  
   

To





   
   

cc


  

   
   

Subject


stub transport

   
  
  
    
   
  
   

  


 

   
  
  
  
 






Is there any sort of stub http transport? Maybe something file driven?  I
would like to use something like that for unit testing? 
 
  




The information contained in this e-mail is confidential and/or proprietary
to Capital One and/or its affiliates. The information transmitted herewith
is intended only for use by the individual or entity to which it is 
addressed.  If the reader of this message is not the intended recipient, 
you are hereby notified that any review, retransmission, dissemination, 
distribution, copying or other use of, or taking of any action in reliance 
upon this information is strictly prohibited. If you have received this 
communication in error, please contact the sender and delete the material 
from your computer. 




The information contained in this e-mail is
confidential and/or proprietary
to Capital One and/or its affiliates. The
information transmitted herewith
is intended only for use by the individual or
entity to which it is 
addressed.  If the reader of this message is
not the intended recipient, 
you are hereby notified that any review,
retransmission, dissemination, 
distribution, copying or other use of, or taking
of any action in reliance 
upon this information is strictly prohibited. If
you have received this 
communication in error, please contact the sender
and delete the material 
from your computer.






The information contained in this e-mail is confidential and/or proprietary
to Capital One and/or its affiliates. The information transmitted herewith
is intended only for use by the individual or entity to which it is 
addressed.  If the reader of this message is not the intended recipient, 
you are hereby notified that any review, retransmission, dissemination, 
distribution, copying or other use of, or taking of any action in reliance 
upon this information is strictly prohibited. If you have received this 
communication in error, please contact the sender and delete the material 
from your computer.






RE: stub transport

2005-12-14 Thread Stettler, Robert








I am looking for a simple solution to
simulate the server side, so that I can test my client code completely.  I
know I can create apache stubs and I have generated stubs in WebLogic, but I am
looking for something simpler.

 

 

You meantioned a unit test system? 
Can you point me to some doc?

 

-Original Message-
From: John Hawkins
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 14, 2005
11:40 AM
To: Apache AXIS C User List
Subject: Re: stub transport

 


hi Robert, 
sorry
unit testing of what - the service? So you want to emulate a client? We
currently have a "unit test" system where we can emulate the service.






 
  
  "Stettler, Robert"
  <[EMAIL PROTECTED]> 
  14/12/2005 14:37 
  
   

Please
respond to
"Apache AXIS C User List"

   
  
  
  
  
  
   

To





   
   

cc


 

   
   

Subject


stub transport

   
  
   
  
   

 


 

   
  
  
  
 





Is there any sort of stub http transport? Maybe something file driven?
 I would like to use something like that for unit testing? 
 

 





The information contained in this e-mail is
confidential and/or proprietary
to Capital One and/or its affiliates. The
information transmitted herewith
is intended only for use by the individual or
entity to which it is 
addressed.  If the reader of this message is
not the intended recipient, 
you are hereby notified that any review,
retransmission, dissemination, 
distribution, copying or other use of, or taking
of any action in reliance 
upon this information is strictly prohibited. If
you have received this 
communication in error, please contact the sender
and delete the material 
from your computer.






The information contained in this e-mail is confidential and/or proprietary
to Capital One and/or its affiliates. The information transmitted herewith
is intended only for use by the individual or entity to which it is 
addressed.  If the reader of this message is not the intended recipient, 
you are hereby notified that any review, retransmission, dissemination, 
distribution, copying or other use of, or taking of any action in reliance 
upon this information is strictly prohibited. If you have received this 
communication in error, please contact the sender and delete the material 
from your computer.






stub transport

2005-12-14 Thread Stettler, Robert








Is there any sort of stub http transport? Maybe something
file driven?  I would like to use something like that for unit testing?

 

 






The information contained in this e-mail is confidential and/or proprietary
to Capital One and/or its affiliates. The information transmitted herewith
is intended only for use by the individual or entity to which it is 
addressed.  If the reader of this message is not the intended recipient, 
you are hereby notified that any review, retransmission, dissemination, 
distribution, copying or other use of, or taking of any action in reliance 
upon this information is strictly prohibited. If you have received this 
communication in error, please contact the sender and delete the material 
from your computer.






Memory management

2005-12-08 Thread Stettler, Robert








Does the client need to delete the memory associated with
the return objects returned by the generated webservice methods?  Or is the
memory managed by the axis?

 

 






The information contained in this e-mail is confidential and/or proprietary
to Capital One and/or its affiliates. The information transmitted herewith
is intended only for use by the individual or entity to which it is 
addressed.  If the reader of this message is not the intended recipient, 
you are hereby notified that any review, retransmission, dissemination, 
distribution, copying or other use of, or taking of any action in reliance 
upon this information is strictly prohibited. If you have received this 
communication in error, please contact the sender and delete the material 
from your computer.






RE: Axis C++ suggestion

2005-12-08 Thread Stettler, Robert








 

Are there any plans to add
namespaces to the generated C++ classes?  We are having problems that the
services are using the same structure and we are running into name collisions.

 

Our solution is to hand code
namespaces into the generated classes.  

 

 






The information contained in this e-mail is confidential and/or proprietary
to Capital One and/or its affiliates. The information transmitted herewith
is intended only for use by the individual or entity to which it is 
addressed.  If the reader of this message is not the intended recipient, 
you are hereby notified that any review, retransmission, dissemination, 
distribution, copying or other use of, or taking of any action in reliance 
upon this information is strictly prohibited. If you have received this 
communication in error, please contact the sender and delete the material 
from your computer.






RE: Axis C++1.5 - behavior question

2005-12-08 Thread Stettler, Robert








 

We had a situation where a field was
added to the WS interface but the client was using the previous version of the
WSDL.  The C++ stub marshaled all of the data upto the unexpected
field.  All fields following are null but no exception was
generated.  Other than the null fields there was not indication of a
problem.

 

I had someone using the java version
of Axis.  In the Java version an exception is generated.  

 

What is the expected behavior?






The information contained in this e-mail is confidential and/or proprietary
to Capital One and/or its affiliates. The information transmitted herewith
is intended only for use by the individual or entity to which it is 
addressed.  If the reader of this message is not the intended recipient, 
you are hereby notified that any review, retransmission, dissemination, 
distribution, copying or other use of, or taking of any action in reliance 
upon this information is strictly prohibited. If you have received this 
communication in error, please contact the sender and delete the material 
from your computer.