I am using gsoap to create a soap server in C++. Messages are routed through a bus written in java. Both the server and the bus are multithreaded. Everything works well sending one message at a time through the system. If i start 3 clients each sending messages as fast as possible everything is fine for about 3500 messages. Then i begin ...
I generated the stubs and proxy classes through soapcpp2 from multiple wsdls all at once. So all the namespace bindings are in a single nsmap file. Now the problem is all the namespace bindings are being send with all the method calls I make. The http post packet is unusually large and ugly. Is there anyway i can programatically override...
Hi,
I'm developing a SOAP application that integrates with a 3rd party. I think the WSDL of this third party is very strange. I'm pretty new to SOAP, so I don't want to go asking them to fix it if it isn't broken. Here's some things I've noticed that I consider wrong about it, though I'm sure it's technically a valid document (hence t...
I'm going to use gSOAP to interact with a WCF webservice in my Mac project. It does pretty much exactly what I need and it does it well (pretty much the exact opposite of WSMakeStubs;)). The only downside is that it's C/C++ only, meaning I either need to convert all my types into C types on the fly or write a complete wrappering solution...
I'd like to use gSOAP in a product which will be distributed commercially. The use I have in mind is what I suspect is a pretty typical workflow—generating a header using wsdl2h, consuming the header with soapcpp2, and then calling the functions generated in the stub in my code.
I'm not 100 percent sure which license(s) I need to use to...
Is there a call I can make to determine whether my session is still alive in a gsoap client?
The only way I see to check if a session is still alive is to check to see if all the cookie values match after each soap call. It seems like gsoap would be aware of the session being alive since the tcp_keep_alive flag is set. Is there function...
My project is about to introduce SOAP. It's going to be used for C++ <-> Java and C++ <-> Flex communication. I'm responsible for refactoring our apps to take advantage of Java business rules engine and new Flex gui.
What resources are must read for C++ SOAP? I've read W3 materials. We're probably be using gSOAP on Solaris boxes.
...
I am writing a web server and client test stub for it. I have questions regarding memory management of the parameters.
From my client I am calling a soap function ns1_func1(input * pInput, output* pOutput)
Now both input and output class contain pointers to other structs.
For e.g
class Output
{
class abc * p1;
class def * p2;...
We have an embedded device that needs to interact with an enterprise software system.
The enterprise system currently uses many different mechanisms for communication between its components: ODBC, RPC, proprietary protocol over TCP/IP, and is moving to .Net-implmented web services.
The embedded device runs a flavor of *nix, so we're ...
Hi,
I have a web service slowdown.
My (web) service is in gsoap & managed C++. It's not IIS/apache hosted, but speaks xml.
My client is in .NET
The service computation time is light (<0.1s to prepare reply). I expect the service to be smooth, fast and have good availability.
I have about 100 clients, response time is 1s mandatory.
Clien...
Hello GSoap community!
My application is crashing when I am sending application specific fault details.
Here's how my SOAP_ENV__Detail looks like -
struct SOAP_ENV__Detail
{
public:
ex__ExceptionType *ex__Exception; /* optional element of type ex:ex__ExceptionType */
int __type; /* any type of element <fault> (defined below) ...
Hello All,
I need to add WS Addressing in my Soap header (I am using the gsoap framework).
Is there a way to add that automatically? I looked up gsoap documentation but didnt find any info on that.
So right now I have manually added the WS-Addressing to my SOAP_ENV_Header as shown below
struct SOAP_ENV__Header
{
mustUnderstand _wsa_...
I'm trying to write a simple WCF Server + gSOAP client proof-of-concept application using SOAP 1.2 protocol. Here's server code:
[ServiceContract(Namespace="http://test.com")]
public interface IService1
{
[OperationContract]
void HelloWorld();
}
[ServiceBehavior(Namespace = "http://test.com")]
public class Service1 : IService1
...
I'm using gsoap to generate an XML SOAP parser and WSDL grammar, and was wondering what is the recommended way to express a static array that is both fast to parse and generates a corresponding WSDL that passes all the validation tests (like Eclipse WSDL Validator or NetBeans Validate XML).
If I use this input into gsoap:
struct ns__Ar...
I am trying to implement session between WCF and gSoap, using basicHttpBinding. And I've almost succeeded, using ASP.NET compatibility mode. I used this technique: http://blogs.msdn.com/sajay/archive/2006/08/03/687361.aspx
Now, while I used a .NET client for my service, everyting just worked fine. Then I tried the same with gSOAP. I mad...
In a normal client/server design, the client can execute functions implemented on the server-side. Is it possible to test a gSOAP server by connecting an extra client to it?
...
Can you give examples how you used gSOAP and how well it was integrated in your existing architecture? Have you found development bottlenecks with gSOAP?
...
I am working on a web service project using gsoap. I am new to web services and have some basic questions.
What should be the port no. of my web service? Currently this web service is a stand alone service listening to a hard-coded port no. of 22050. Client connects to this port and everything works fine. Is this approach OK? What are t...
I am trying to generate gsoap classes for the JIRA issue tracking system WSDL. I run these commands to generate the required classes:
$ wsdl2h -o JIRASoap.h <url to wsdl>
$ soapcpp2 -C JIRASoap.h
The soapcpp2 command gives the following output, but does not indicate how to fix it.
There were errors:
3 syntax errors
1 semantic error
2...
Hello, I'm refactoring legacy C++ system to SOA using gSoap. We have some performance issues (very big XMLs) so my lead asked me to take a look at protocol buffers. I did, and it looks very cool (We need C++ and Java support). However protocol buffers are solution just for serialization and now I need to send it to Java front-end. What s...