Web Services

Subscribe to Web Services content with RSS Syndicate content or email

SHA256 Signing with RSA PSS padding

Hi everyone,

I have a project which requires the sending of JSON messages to an external service provider using REST. The service provider requires the message contents to be signed.

views

rating

Force %SOAP.WebRequest to output XML without new lines or whitespaces

I'm using %SOAP.WebRequest to send SOAP requests:

  1. Populate %SOAP.WebRequest object (by setting Request and HeadersOut properties)
  2. Call SendSOAPBody method to send request

Currently the XML I send looks like this:

<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'>
  <SOAP-ENV:Header>
<SomeCustomHeader/>  </SOAP-ENV:Header>
  <SOAP-ENV:Body><SomeCustomBody/></SOAP-ENV:Body>
</SOAP-ENV:Envelope>

However, I want XML to be generated differently:

  • No new lines
  • No whitespaces between <SomeCustomHeader/> and </SOAP-ENV:Header>

 

How can I tweak XML generation to achieve that?

views

rating

Error in the SOAP Wizard

Hi,

In SOAP Wizard, whatever WSDL I pass, I m getting the following error in the SOAP Response. Even If I create my own SOAP Web-Service and pass its WSDL, I am getting the same.

views

rating

Soap Wizard

HI,

Please let us know the solution to the below error:

ERROR:#5388 - You do not have write permission on the database class .
%SOAP.WebClient is in , so class lock cannot be obtained .

views

rating

Errror SOAPACTION value when I call a webservice

Hello all,

 

When I call a WSDL in php, look this code :

views

rating

Variable number of arguments in web service method

I wonder if you could help me? I have a regular cache class that accepts a variable number of arguments in one of the methods.

views

rating

Debugging Web

In this article I'll cover testing and debugging Caché web applications (mainly REST) with external tools. Second part would cover Caché tools.

You wrote server-side code and want to test it from a client or already have a web application and it doesn't work. Here comes debugging. In this article I'll go from the easiest to use tools (browser) to the most comprehensive (packet analyzer), but first let's talk a little about most common errors and how they can be resolved.

views

rating

NTLM Authorisation

Does anyone know if Caché supports NTLM authorisation? And if so, how?

Many thankx!

 

views

rating

Separate ports for Management Portal vs SOAP/REST Services to block access to Mgmt Portal

We are using an F5 load balancer to route public traffic to our IS server. My goal is to block public access to the Management Portal, and only allow what we want to expose, such as REST/SOAP services.

views

rating

Logging incoming CSP requests (%request)

Maybe someone has a logger for  incoming CSP requests and willing to share? Debugging  high traffic HTTPS application and wireshark just doesn't cut it sometimes.

views

rating

Password change on inbound web-services

We are planning to use Caché users on a SOAP web-service, so the WS-security tokens will be used.
It will be username and password only for now.

views

rating

Custom Business Process. Change from SendRequestSync to SendRequestAsync

I have a number of Business Process and due to the complexity these were created as "custom code" instead of BPL.

views

rating

WebMethod - Issue with encoding (special character)

Hello guys,

I've got this piece of code which runs the method "WebMethod", that belongs to %SOAP.WebBase.cls.

views

rating

Configuring IIS Web Server to Serve RESTful Web Services

Hi-

Im curious if there is any specific configuration that has to be done on an IIS web server to serve up RESTful web services.

views

rating