Dear All,
I am trying to do web services but it gives and error likes follows. Please help me.
Error
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: can’t import schema from ‘http://romeo:8080/ClarityServiceManagement-war/ServiceManagementAPIService/__container$publishing$subctx/WEB-INF/wsdl/ServiceManagementAPIService_schema1.xsd’ in C:\xampp\htdocs\WS\newver.php:5 Stack trace: #0 C:\xampp\htdocs\WS\newver.php(5): SoapClient->SoapClient(‘http://172.25.1…’) #1 {main} thrown in C:\xampp\htdocs\WS\newver.php on line 5
XML
<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:xsd=“http://www.w3.org/2001/XMLSchema"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance”>
soapenv:Body
CSU
KPT
PSTN
</soapenv:Body>
</soapenv:Envelope>
CODE
[php]<?php
ini_set(“soap.wsdl_cache_enabled”, “0”);
$client = new SoapClient(“http://172.25.1.194:8080/ClarityServiceManagement-war/ServiceManagementAPIService?WSDL”);
$edit_subscription_account=new stdClass();
$edit_subscription_account->WorkGroupType=“CSU”;
$edit_subscription_account->AreaCode=“KPT”;
$edit_subscription_account->ServiceType=“PSTN”;
var_dump($client->getAreaServiceTypeWorkGroup($edit_subscription_account));
?>
[/php]