php-windows Digest 23 Jun 2006 21:49:04 -0000 Issue 3002

Topics (messages 27052 through 27053):

Making sure everything is OK
        27052 by: Simon Renshaw

WSDL Parsing Error Question
        27053 by: Vandegrift, Ken

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
Hi,

This is what I have currently running on my server:

Pear version:

PEAR Version: 1.4.9
PHP Version: 5.0.5
Zend Engine Version: 2.0.5
Running on: Windows NT CASTOR-SRVR1 5.2 build 3790

Pear list:

INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
=========================================
PACKAGE        VERSION STATE
Archive_Tar    1.3.1   stable
Console_Getopt 1.2     stable
DB             1.7.6   stable
Mail           1.1.10  stable
Net_SMTP       1.2.8   stable
Net_Socket     1.0.6   stable
PEAR           1.4.9   stable
PHPUnit        1.3.2   stable
XML_Parser     1.2.7   stable
XML_RPC        1.4.8   stable

And the include_path is: include_path = ".;c:\php;C:\php\PEAR"

Is there an easy way to test if my setup can send emails?

I've been trying to get my Mediawiki Wiki (it does require PEAR Mail) to
send email but I never receive them so I'm thinking that something is
wrong on the PHP side but I don't know what to check.

Thanks!
Simon

--- End Message ---
--- Begin Message ---
Good Day,
 
I have been giving myself a crash course in SOAP for a project I am
working on that will activate gift cards purchased from our company's
online store.  Once an admin marks an order as shipped and swipes the
card number(s) associated with an order, I want to package this
information as a SOAP request and send request to the company that
administers our gift cards for activation.
 
However, I keep getting the below SoapFault Exception when I try to
instaniate a new SoapClient object:
 
 SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: unexpected in
schema...
 
Example code:
 
try {
  $client = new SoapClient('http://path/to/giftcard/company/b2b.wsdl',
array('login' => 'xxx', 'password' => 'xxx'));
  print_r($client->__getFunctions());
}catch (SoapFault $e) {
  print($e);
}
 
This code works with test web services from xmethods.net (different wsdl
file of course).
 
When I open the wsdl file in a web browser this is how the file looks:
 
<definitions name="PXB2B"
targetNamespace="https://www.giftcardco.com:1272/schema/@VERSION@/b2b.ws
dl" xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/
http://schemas.xmlsoap.org/wsdl/";>
-
 <types>
-
 <xsd:schema targetNamespace="https://www.giftcardco.com:1272/schema
<https://www.giftcardco.com:1272/schema/@VERSION@/b2b.wsdl> /@VERSION@/
<https://www.pxsweb.com:1272/b2b/schema/@VERSION@/> ">
 @COMMON_SCHEMA@ @REQUEST_SCHEMA@ @REPLY_SCHEMA@    
</xsd:schema>
</types>
......rest of file
 
Could I be getting this error because the vaiable placeholders are not
replaced with actual values or is this typical when viewing a WSDL file
in a browser?  I am experimenting on a dev box running Windows 2003
server PHP 5.1.2 on a non-SSL connection.
 
Any suggestions would be appreciated.
 
Thanks.
 
Ken Vandegrift
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
 

--- End Message ---

Reply via email to