SAAJ API for sending SOAP response - soap

How can we use SAAJ API for creating and sending SOAP response to client .most examples in the net are for sending request from client to server

Here's an example I found in the net:
http://itdoc.hitachi.co.jp/manuals/3020/30203Y2310e/EY230155.HTM#ID00260

Related

TR069 / CWMP Protocol Handling using Apace CXF - How to implement SOAP service?

Background:
I am trying to implement an Auto-configuration Server (ACS , CWMP protocol) using
Apache CXF.
CWMP uses SOAP for interaction between CPE and auto configuration server.
Section 3.4.1 of TR-069 Amendment 1 / CWMP describes the HTTP binding.
As per the spec for TR-069/CWMP, CPE sends SOAP request to ACS in HTTP Post and ACS shall put SOAP responses in HTTP response.
ACS shall also include SOAP requests towards CPE in an HTTP response send towards CPE.
Query:
While using Apache CXF for SOAP, is it possible to send SOAP requests inside HTTP responses ?
If so please provide any pointers ..

How to send NTLM authentication in soap header?

I could invoke service in soap ui with my credentials or calling same service with node soap package , but I need to invoke It by sending request with soap header, but I couldn't find any examples about that, so is It even possible?

Send multipart post to glassfish(payara) fail if using Certificate authentication

We have Rest web services on a glassfish4 (payara) server
Our rest client is based on httpClient Lib
As Authentication we use certificate and basic auth.
The client work well getting and posting infos to WS
But when we send a multipart post with file bigger than few bytes, parsing the request hang until a timeout
If we disable the certification auth, all is working
Thanks to payara blog, we address the problem: we needed to change a configuration in payara, "Max Save Post Size" in Network Config->Network Listener -> http-listener-2 (the one using ssl) - http tab

Application Request Routing (ARR) with HTTP Methods and Mule

I'm trying to redirect messages internet URL with the Application Request Routing (ARR), the component to the IIS in Windows Server.
I want to redirect that messages by the HTTP Method. Example:
HTTP POST: http://XXX.XXX.XXX.XX:7050/api/createUser
HTTP DELETE: http://XXX.XXX.XXX.XX:7050/api/deleteUser
HTTP PUT: http://XXX.XXX.XXX.XX:7050/api/modifyUser
The endpoint will be Mule (REST API Service with RAML).
Is it possible to make this filter?
I think you could do it by using choice router with this MEL expression #[message.inboundProperties.'http.method'] ?

SOAP can be sent can't sent over SMTP, FTP why?

SOAP uses HTTP for sending request to server, but can't used over SMTP, FTP why ?
FTP and SMTP can be used to send SOAP messages, it is just most common to send it over HTTP, see other post on this matter:
Why does a SOAP message have to be sent over HTTP?