Code Monkey home page Code Monkey logo

gsoap's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gsoap's Issues

Gsoap is not encrypting the body of the soap message

I am trying to encrypt the soap message using the function soap_wsse_add_EncryptedKey() but it is not encrypting the soap body.

Here is the snapshot of the code.

soap_wsse_set_wsu_id((*proxy)->soap, "wsse:BinarySecurityToken SOAP-ENV:Body");

if ( soap_wsse_add_BinarySecurityTokenX509((*proxy)->soap, "X509Token", *cert1 )
|| soap_wsse_add_KeyInfo_SecurityTokenReferenceX509((*proxy)->soap, "#X509Token")
|| soap_wsse_sign_body((*proxy)->soap, SOAP_SMD_SIGN_RSA_SHA256, *pkey1, 0)
|| soap_wsse_sign_only((*proxy)->soap, "SOAP-ENV:Body") ) {
	return ( 3 );
}
    soap_wsse_add_EncryptedKey((*proxy)->soap, SOAP_MEC_AES256_CBC, "Cert", <X509> public key cert, NULL, NULL, NULL)

Document says to follow this way to encrypt. but it is failing to encrypt the data, I am using gsoap-2.8.116, same was happening with lower version of gsoap. Any help will be highly appreciated.

uddi compilation error

gsoap\uddi2 Run make and an error is reported

error: invalid initialization of reference of type ‘uddi2__bindingDetail&’ from expression of type ‘uddi2__bindingDetail*’
if (soap_call___inq2__find_USCOREbinding(soap, endpoint, NULL, this, result))

JSON-RPC over SSL

We found seperate SSL and JSON-RPC( gsoap-2.8/gsoap/samples/xml-rpc-json/ssl & xml-json-rpc) examples and they are working fine individually. We intergrated SSL server(/ssl/sslserver.c) into json-currentTimeServer.cpp and SSL client(ssl/sslclient) into json-currentTime.cpp.We can able encrypt JSON RPC request from RPC client(Seen in wireshark) and not able detect by json_recv(ctx, request) in server.

Is it JSON-RPC over SSL is strongly discouraged?

How can we approach SSL integration in JSON-RPC

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.