On Thu, Nov 20, 2008 at 4:36 PM, Matthew Peters
<[EMAIL PROTECTED]> wrote:
>
> The way I _think_ this works (though it is 2 years since I last looked
> at this bit of the code) is as follows:
> 1. the Soap_Proxy calls setWSDLTypes
> 2. setWSDLTypes calls the SDO_DAS_XML::create (as shown in the message
> below)
> 3. the SDO_DAS_XML code calls the Tuscany SDO code passing the URL
> 4. The Tuscany SDO code calls fopen() or something similar
> 5. This is picked up by the PHP file wrapper (see e.g. 
> http://uk3.php.net/fopen)
> 6. PHP looks at the scheme (hhtps) and handles the open
>
> So, I _think_ this comes down to the same behaviour that you would get
> from fopen directly from PHP.
>
> So, does
> fopen('https://URL/WS.wsdl');
> work?

Nope.

"failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden"

Because it requires the certificate as well.

Silvano

> On 19 Nov, 17:43, silvanojr <[EMAIL PROTECTED]> wrote:
>> Adding the error message.
>>
>> [19-Nov-2008 12:42:27] PHP Fatal error:  Uncaught
>> SCA_RuntimeException: SDO_Exception in setWSDLTypes :
>> SDO_DAS_XML::create - Unable to parse the supplied xsd file
>> 1 parse error(s) occurred when parsing the file 'https://URL/WS.wsdl':
>> 1. xmlSAXUserParseFile returned an error -1
>>
>>   thrown in /usr/share/pear/SCA/Bindings/soap/Proxy.php on line 104
>>
>> Silvano
>>
>> On 19 nov, 12:12, "Silvano Girardi Jr" <[EMAIL PROTECTED]> wrote:
>>
>> > Lady and Gentlemen :)
>>
>> > I am trying to consume a SSL secured web service and I need to use a
>> > certificate to even get to the WSDL.
>>
>> > I was doing changes in the SCA_Bindings_soap_Proxy to accept the
>> > local_cert and passphrase, but after the first attempt I realized that
>> > it may not be enough to do the job, as I believe the SDO_DAS_XML is
>> > responsible for parsing the contents of the WSDL and thus it needs to
>> > use the certificate as well.
>>
>> > Please let me know if I am wrong in my assumption, otherwise, does
>> > anyone know a way to get around this problem? (So far I am trying to
>> > download all the WSDL by hand and modifying the "import"s in the XSD's
>> > to point to my server. No luck so far.)
>>
>> > Appreciate you help. This is a high priority for me.
>>
>> > Thanks,
>> > Silvano
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"phpsoa" group.
To post to this group, send email to phpsoa@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to