SOAP for HTTPS

Moderator: crythias

Locked
santoshreddy_spy
Znuny newbie
Posts: 33
Joined: 09 Nov 2011, 11:20
Znuny Version: 2.4.4

SOAP for HTTPS

Post by santoshreddy_spy »

Hi All,

Can anyone tell me how to configure web-services to work for HTTPSsimilar to HTTP.

I could see that, in GenericInterface/Transport, we've only HTTP level SOAP, REST type API's.
Similarly, how can we have for HTTPS.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: SOAP for HTTPS

Post by jojo »

the type is depending on the apache configuration
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
santoshreddy_spy
Znuny newbie
Posts: 33
Joined: 09 Nov 2011, 11:20
Znuny Version: 2.4.4

Re: SOAP for HTTPS

Post by santoshreddy_spy »

jojo wrote:the type is depending on the apache configuration
Hi Jojo,

Yes, I understand that HTTPSis configured @ apache level.

But, If I completely stop HTTP(port 80) and allow all requests only on HTTPS(port 443), web-services (HTTP::SOAP) transport will not work as it is not through SSL.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: SOAP for HTTPS

Post by jojo »

they will work as the Transport Module does not control if http or https is used
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
santoshreddy_spy
Znuny newbie
Posts: 33
Joined: 09 Nov 2011, 11:20
Znuny Version: 2.4.4

Re: SOAP for HTTPS

Post by santoshreddy_spy »

jojo wrote:they will work as the Transport Module does not control if http or https is used
Thank you Jojo,

I'm getting error as below.

<soap:Envelope soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="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">
<soap:Body>
<Fault xmlns="http://www.otrs.org/TicketConnector/">
<faultcode>Server</faultcode>
<faultstring>Namespace from SOAPAction 'http://www.otrs.org/TicketConnector' does not match namespace from configuration 'http://www.otrs.org/TicketConnector/'</faultstring>
</Fault>
</soap:Body>
</soap:Envelope>


any idea?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: SOAP for HTTPS

Post by jojo »

don't use tools to generate SOAP code. Did you try the provided OTRS testscripts (in development folder on github)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked