Hi,
I want to pass following message using “nusoap”
<OpenPatentServices ACTION="FamilyAndLegal">
<WORLDPATENTDATA>
<FAMILY SEED=" EP 0688878A1"
SEED_FORMAT="D"
SEED_TYPE="PN"
DESC_LNG="ENG"
DATE_MIGR="99999999"
LEGAL="YES">
</FAMILY>
</WORLDPATENTDATA>
</OpenPatentServices>
I have tried lot using following script but it doen’t
work.
<?
include('nusoap.php');
$client = new soapclient("http://ops.espacenet.com/OpenPatentServices/webService/getPatentData?wsdl");
$val1 = array('SEED'=>'EP
1006112A1',
'SEED_FORMAT'=>'D',
'SEED_TYPE'=>'PN',
'DESC_LNG'=>'ENG',
'DATE_MIGR'=>'00000000',
'LEGAL'=>'NO');
//$para = array('FAMILY'=>$val1 );
$para = array('ACTION'=>'Family',
'FAMILY'=>htmlspecialchars("SEED='EP 1006112A1'
SEED_FORMAT='D' SEED_TYPE='PN' DESC_LNG='ENG' DATE_MIGR='00000000'
LEGAL='NO'") );
$para1 = array('input_request'=>$para);
$namespace="urn:EPO-OpenPatentServices";
$rtn =
$client->call('getPatentData','$para1',$namespace,'Family');
echo '<h2>Request</h2><pre>' .
htmlspecialchars($client->request, ENT_QUOTES) . '</pre>';
if ($err = $client->getError()) {
echo $err;
} else {
print_r($rtn);
}
?>
Can anybody help me to solve this problem?
Best Regards,
Asif Aglodiya
Lead Web Developer

|
Head Office & Research
Centre:
Genericsweb
Pty Ltd
Australian Company No: 105535868
PO Box 202
(F19/1-15
Barr Street)
Balmain NSW 2041
Australia
Tel. +61 (0)2 9818 6111
Fax. +61 (0)2 9818 7786
Email. info@xxxxxxxxxxxxxxx
|
European & US
Customer Centre:
Genericsweb (Europe) Ltd
Registered Company No: 5933917
PO Box 3616
(The Oriel, 185 Bath Road)
Slough SL1 OEY
United Kingdom
Tel. +44 (0)870 879 0081
Fax. +44 (0)870 879 0082
Email. info-eu@xxxxxxxxxxxxxxx
|
|
This message is for
the named person's use only. It may contain sensitive and private proprietary
or legally privileged information. No confidentiality or privilege is waived
or lost by any mistransmission. If you are not the intended recipient,
please immediately delete it and all copies of it from your system, destroy
any hard copies of it and notify the sender. You must not, directly or
indirectly, use, disclose, distribute, print, or copy any part of this
message if you are not the intended recipient. Any views expressed in
this message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the views
of any such entity.
|