SOAPClient Header PHP
am 06.11.2007 14:01:38 von broersen
Hello,
Can someone tell how to create a header within a SOAP Message for sending
wwith HTTP Client? And how to use x509 certificate with this HTTP Request?
XML
Thanks for the help.
Regards,
Wilco
Re: SOAPClient Header PHP
am 09.11.2007 02:43:51 von nothingsoriginalontheinternet
What package are you using for SOAP? (The PHP SOAP extension, NuSOAP,
etc.) Or are you generating the XML directly from PHP or using a plain
XML extension?
Also, what do you mean by HTTP Client? Are you using the Jakarta
HttpClient class through PHP-Java integration or some other class or
project called HTTP Client? Or do you mean using HTTP in general?
-Michael Placentra II
On Nov 6, 8:01 am, "broersen" wrote:
> Hello,
>
> Can someone tell how to create a header within a SOAP Message for sending
> wwith HTTP Client? And how to use x509 certificate with this HTTP Request?
>
> Thanks for the help.
> Regards,
> Wilco
Re: SOAPClient Header PHP
am 11.11.2007 00:00:16 von broersen
Im using the PHP SOAP extension.
Within .net you are using httpwebrequest for sending an soapmessage to a
java webservice. I am trying to send an request to an webservice and save
this answer to the database. Here by i have to use an x509 certificate.
If someone has another idea to post an soapmessage with no wsdl.
Regards,
Wilco
"Mike Placentra II" wrote in
message news:1194572631.327771.31440@i38g2000prf.googlegroups.com...
> What package are you using for SOAP? (The PHP SOAP extension, NuSOAP,
> etc.) Or are you generating the XML directly from PHP or using a plain
> XML extension?
>
> Also, what do you mean by HTTP Client? Are you using the Jakarta
> HttpClient class through PHP-Java integration or some other class or
> project called HTTP Client? Or do you mean using HTTP in general?
>
> -Michael Placentra II
>
> On Nov 6, 8:01 am, "broersen" wrote:
>> Hello,
>>
>> Can someone tell how to create a header within a SOAP Message for sending
>> wwith HTTP Client? And how to use x509 certificate with this HTTP
>> Request?
>>
>> Thanks for the help.
>> Regards,
>> Wilco
>
Re: SOAPClient Header PHP
am 12.11.2007 08:51:45 von Willem Bogaerts
I used the curl extension to do that. It has a few advantages: you can
specify almost every option you can think of (like the use of
certificates, also an issue in my case) and you can test the service
with some pre-brew xml to test it. And you can log the entire request
and response to see what happens. The only drawback is that you have to
study the options.
Good luck!
broersen wrote:
> Im using the PHP SOAP extension.
>
> Within .net you are using httpwebrequest for sending an soapmessage to a
> java webservice. I am trying to send an request to an webservice and
> save this answer to the database. Here by i have to use an x509
> certificate.
> If someone has another idea to post an soapmessage with no wsdl.
>
> Regards,
> Wilco
>
> "Mike Placentra II" wrote in
> message news:1194572631.327771.31440@i38g2000prf.googlegroups.com...
>> What package are you using for SOAP? (The PHP SOAP extension, NuSOAP,
>> etc.) Or are you generating the XML directly from PHP or using a plain
>> XML extension?
>>
>> Also, what do you mean by HTTP Client? Are you using the Jakarta
>> HttpClient class through PHP-Java integration or some other class or
>> project called HTTP Client? Or do you mean using HTTP in general?
>>
>> -Michael Placentra II
>>
>> On Nov 6, 8:01 am, "broersen" wrote:
>>> Hello,
>>>
>>> Can someone tell how to create a header within a SOAP Message for
>>> sending
>>> wwith HTTP Client? And how to use x509 certificate with this HTTP
>>> Request?
>>>
>>> Thanks for the help.
>>> Regards,
>>> Wilco
>>
>
--
Willem Bogaerts
Application smith
Kratz B.V.
http://www.kratz.nl/