Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,175,970 members, 7,896,120 topics. Date: Sunday, 21 July 2024 at 06:26 AM

Emmawab's Posts

Nairaland Forum / Emmawab's Profile / Emmawab's Posts

(1) (of 1 pages)

Webmasters / Can Someone Assist In Getting Quick Book Accounting / Payrol Software And Price by emmawab(m): 1:41pm On Sep 12, 2011
Dear all,
Please would like someone to assist me in getting quick-book Accounting / Payroll Software. Will please need the price too. I am based in Abuja and you can call me for us to meet on 08068951469. Need it today / tomorrow.
Thanks
Emmanuel
Programming / Re: Please Can Someone Be Of Help In Webservices / Soap by emmawab(m): 5:17pm On Jan 14, 2011
megaplaza:

<?php

include("nusoap.php"wink;

$ini = ini_set("soap.wsdl_cache_enabled",
"0"wink;

$wslink = "http://208.45.248.77:7983/
gistme/ws/keyword.wsdl";

$options = array('features' =>
SOAP_USE_XSI_ARRAY_TYPE +
SOAP_SINGLE_ARRAYS);

$client = new SoapClient($wslink,$options);

$GetKeywordByKeywordRequest->keyword = "fan";

$response = $client-
>GetKeywordByKeyword($GetKeywordByKeywordRequest);

var_dump($response);
?>

If it fails try this
<?php

$ini = ini_set("soap.wsdl_cache_enabled",
"0"wink;

$wslink = "http://208.45.248.77:7983/
gistme/ws/keyword.wsdl";

$client = new SoapClient($wslink, array("trace" =>1, "exceptions" => 0));

$GetKeywordByKeywordRequest->keyword = "fan";

$response = $client-
>GetKeywordByKeyword($GetKeywordByKeywordRequest);

var_dump($response);

?>
Try this

Hi Megaplaza
The first sample Error is

Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Client] Validation error in C:\xampp\htdocs\soap\test44.php:15 Stack trace: #0 [internal function]: SoapClient->__call('GetKeywordByKey, ', Array) #1 C:\xampp\htdocs\soap\test44.php(15): SoapClient->GetKeywordByKeyword(Object(stdClass)) #2 {main} thrown in C:\xampp\htdocs\soap\test44.php on line 15

The Second sample error is this

object(SoapFault)#4 (10) { ["message":protected]=> string(16) "Validation error" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(31) "C:\xampp\htdocs\soap\test55.php" ["line":protected]=> int(11) ["trace":"Exception":private]=> array(2) { [0]=> array(4) { ["function"]=> string(6) "__call" ["class"]=> string(10) "SoapClient" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(19) "GetKeywordByKeyword" [1]=> array(1) { [0]=> object(stdClass)#2 (1) { ["keyword"]=> string(3) "fan" } } } } [1]=> array(6) { ["file"]=> string(31) "C:\xampp\htdocs\soap\test55.php" ["line"]=> int(11) ["function"]=> string(19) "GetKeywordByKeyword" ["class"]=> string(10) "SoapClient" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> object(stdClass)#2 (1) { ["keyword"]=> string(3) "fan" } } } } ["previous":"Exception":private]=> NULL ["faultstring"]=> string(16) "Validation error" ["faultcode"]=> string(15) "SOAP-ENV:Client" ["detail"]=> object(stdClass)#3 (1) { ["ValidationError"]=> array(2) { [0]=> string(113) "cvc-complex-type.3.2.2: Attribute 'keyword' is not allowed to appear in element 'ns1:GetKeywordByKeywordRequest'." [1]=> string(96) "cvc-complex-type.4: Attribute 'keyword' must appear on element 'ns1:GetKeywordByKeywordRequest'." } } }

Thanks Man
Emma
Programming / Re: Please Can Someone Be Of Help In Webservices / Soap by emmawab(m): 12:50pm On Jan 14, 2011
Hi Megaplaza,
Please after doing this,

<?php
include("nusoap.php"wink;
$ini = ini_set("soap.wsdl_cache_enabled", "0"wink;

$wslink = "http://208.45.248.77:7983/gistme/ws/keyword.wsdl";

$options = array('features' => SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ARRAYS);

$client = new SoapClient($wslink, $options);

$response = $client ->__getFunctions();

var_dump($response);

//echo $response;

?>

Then i got this informations in my browser

array(cool { [0]=> string(59) "void UpdateMMUser(UpdateMMUserRequest $UpdateMMUserRequest)" [1]=> string(41) "MMUserOperationResponse MMUserOperation()" [2]=> string(67) "GetKeywordResponse GetKeyword(GetKeywordRequest $GetKeywordRequest)" [3]=> string(74) "void GetKeywordByRange(GetKeywordByRangeRequest $GetKeywordByRangeRequest)" [4]=> string(63) "AddMMUserResponse AddMMUser(AddMMUserRequest $AddMMUserRequest)" [5]=> string(103) "GetKeywordByKeywordResponse GetKeywordByKeyword(GetKeywordByKeywordRequest $GetKeywordByKeywordRequest)" [6]=> string(63) "GetMMUserResponse GetMMUser(GetMMUserRequest $GetMMUserRequest)" [7]=> string(35) "receiveMTSMSResponse receiveMTSMS()" }

Please check. It seems we are making progress.
Thanks Emma. Also dont forget the define the keyword for the name space of the getkeywordbykeywordrequest.
Thanks Man
Emma
Programming / Re: Please Can Someone Be Of Help In Webservices / Soap by emmawab(m): 12:37pm On Jan 14, 2011
Hi Megaplaza,
Please i asked the java guy about the parameters and stuff, He said that i got this error ( Fatal error: Call to undefined method soapclient::GetKeywordByKeyword() ) Because i did not define the keyword which is in wdsl file eg

<xs:element name="GetKeywordByKeywordRequest">
<xs:complexType>
<xs:attribute ref="kword:keyword" use="required"/>
</xs:complexType>
</xs:element>

That is required in the attribute defined in the wsdl. That also i should take note of name space. For example GetKeywordByKeywordRequest might be plenty in the wsdl file that if i did not specify the attributes or define it before passing it, it wil give error. So please define it and send back to me lets see.

These is the code

<?php
include("nusoap.php"wink;

$ini = ini_set("soap.wsdl_cache_enabled", "0"wink;

$wslink = "http://208.45.248.77:7983/gistme/ws/keyword.wsdl";

$options = array('features' => SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ARRAYS);

$client = new SoapClient($wslink, $options);

$value = "fan";
$param = array("GetKeywordByKeywordRequest" => $value);

//$response = $client->MMUserOperation();
$response = $client->GetKeywordByKeyword($param);

var_dump($response);

?>

Thanks waiting
Emma
Programming / Re: Please Can Someone Be Of Help In Webservices / Soap by emmawab(m): 11:53am On Jan 14, 2011
Hi Megaplaza.
Please i asked the java guy he said that in the wsdl,
<xs:element name="GetKeywordByKeywordRequest">
<xs:complexType>
<xs:attribute ref="kword:keyword" use="required"/>
</xs:complexType>
</xs:element>

That it required a keyword which i must pass to it. That i should also take note of the name space. That is why is saying that is not defined. That i must define it before requesting, that there might be different type of getkeywordbykeyword that if is not defined before requesting, that it will be error. That what i have to add to the code is keyword because is only search that we are doing to display.

Thanks man
Emmanuel
Programming / Re: Please Can Someone Be Of Help In Webservices / Soap by emmawab(m): 11:43am On Jan 14, 2011
Hi. Megaplaza
Please correct this code for me so that i test it locally and online.

<?php
$ini = ini_set("soap.wsdl_cache_enabled", "0"wink;

$wslink = "http://208.45.248.77:7983/gistme/ws/keyword.wsdl";

$options = array('features' => SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ARRAYS);

$client = new SoapClient($wslink, $options);

$response = $client -> __get Functions( );

//var_dump($response);

echo $response;

?>
The error is
Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\soap\test2.php on line 10

IT seems the __get Function(); is not written well. Please check that code and correct it for me so that i test it again. Thanks

Emma
Programming / Re: Please Can Someone Be Of Help In Webservices / Soap by emmawab(m): 10:17am On Jan 14, 2011
Hi Megaplaza.
Please i also uploaded this to the server

<?php
include("nusoap.php"wink;

$ini = ini_set("soap.wsdl_cache_enabled", "0"wink;

$wslink = "http://208.45.248.77:7983/gistme/ws/keyword.wsdl";

$options = array('features' => SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ARRAYS);

$client = new SoapClient($wslink, $options);

$value = "fan";
$param = array("GetKeywordByKeywordRequest" => $value);

//$response = $client->MMUserOperation();
$response = $client->GetKeywordByKeyword($param);

var_dump($response);

?>

and i got this as an error

Fatal error: Call to undefined method soapclient::GetKeywordByKeyword() in /home/smsgist/public_html/soap/test.php on line 16.

Thanks
Emmanuel
Programming / Re: Please Can Someone Be Of Help In Webservices / Soap by emmawab(m): 10:02am On Jan 14, 2011
megaplaza:

<?php
$ini = ini_set("soap.wsdl_cache_enabled", "0"wink;

$wslink = "http://208.45.248.77:7983/ gistme/ws/ keyword.wsdl";

$options = array('features' => SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ARRAYS);

$client = new SoapClient($wslink, $options);

$response = $ c l i e n t -
> _ _ g e t F unct i o n s ( );

var_dump($response);

?>

This should display a description of the functions define in the web service, now lets use this to track to know if the php is connecting at all to the java web service, then if YES, we can now focus on why the getkeywordbykeyword function is not working. Try and let me know the outcome. Also are you using an online web host or a localhost for testing the php code.


Hi
Please i formated this

<?php
$ini = ini_set("soap.wsdl_cache_enabled", "0"wink;

$wslink = "http://208.45.248.77:7983/gistme/ws/keyword.wsdl";

$options = array('features' => SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ARRAYS);

$client = new SoapClient($wslink, $options);

$response = $client -> __get Functions( );

var_dump($response);

?>
and i got this as an error using my local host

Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\soap\test2.php on line 10

IT seems the code has an error in it. pls check. thanks.
Emma
Programming / Re: Please Can Someone Be Of Help In Webservices / Soap by emmawab(m): 4:54pm On Jan 13, 2011
megaplaza:

hmmmm,   ok   did   you   run   the   phpversion();   code   to   know   the   version   you   web   host   supports?   Also,   can   i  have   the   official   web  address   of   the Java   web  service   host,   cause   maybe   it  require   that   you  first   call   a web service   function   that  authenticates   you   before  calling   other  functions.
Thanks,
Megaplaza

Hi Please
The php version is [PHP: 5.2.6]. Also  I asked the Java guy in our office to know if there is any authentication for the server, he said there is non for now for the programme he wrote. He just want me to see if i can make it view information. The Java spec doesnt have any security now because is just to view that i am doing now. If i cando this, then the main server will now be set up that will require security. Hope you understand. Also there is no website address is just the  ip. That was why i said you should please try to use a normal system to view it and see the result or output. Once again the address to search is http://208.45.248.77:7983/gistmepublic/keyword.html. and the wsdl address once again is this http://208.45.248.77:7983/gistme/ws/keyword.wsdl.

After using the new function you gave me, i got this error

Fatal error: Uncaught SoapFault exception: [HTTP] Not Found in C:\xampp\htdocs\soap\test.php:14 Stack trace: #0 [internal function]: SoapClient->__doRequest('<?xml version=", ', 'http://208.45.2, ', '', 1, 0) #1 [internal function]: SoapClient->__call('MMUserOperation', Array) #2 C:\xampp\htdocs\soap\test.php(14): SoapClient->MMUserOperation() #3 {main} thrown in C:\xampp\htdocs\soap\test.php on line 14


Please if is possible, can you send me your phone through my email box so that i can call you. emmawab@yahoo.co.uk or wabeke_emml@yahoo.com.
Thank you so much.
Emmanuel
Programming / Re: Please Can Someone Be Of Help In Webservices / Soap by emmawab(m): 3:57pm On Jan 13, 2011
megaplaza:

<?php
$ini = ini_set("soap.wsdl_cache_enabled", "0"wink;

$wslink = "http://208.45.248.77:7983/ gistme/ws/ keyword.wsdl";

$options = array('features' => SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ARRAYS);

$client = new SoapClient($wslink, $options);

$value = "fan";
$param = array("GetKeywordByKeywordRequest" => $value);

$response = $client->GetKeywordByKeyword($param);

var_dump($response);

?>

The 'getkeywordbykeyword' method parameter name is 'GetKeywordByKeywordRequest' you were using 'keyword', now try this, if it doesn't work then i suggest you check if the specification requires that each client (php program) should authenticate itself b4 calling the web service methods. Try it and let me know. Also check the version of php you host supports, using if the code doesn't work
<?php
phpversion();
?>
You can only use Nusoap if they support less than PHP 5.0, if it is PHP 5.0, the above code stands.
Also does the host of the java web service have official website for developers so that i can know their required procedures b4 using their services, cause some web service host requires that you register and authenticate yourself b4 using their service. Hopefull the above code will work.
Thanks
Megaplaza
Hi Megaplaza,
Please i tried running this

<?php

$ini = ini_set("soap.wsdl_cache_enabled", "0"wink;

$wslink = "http://208.45.248.77:7983/gistme/ws/keyword.wsdl";

$options = array('features' => SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ARRAYS);

$client = new SoapClient($wslink, $options);

$value = "fan";
$param = array("GetKeywordByKeywordRequest" => $value);

$response = $client->GetKeywordByKeyword($param);

var_dump($response);

?>

The error was

Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Client] Validation error in C:\xampp\htdocs\soap\test.php:14 Stack trace: #0 [internal function]: SoapClient->__call('GetKeywordByKey, ', Array) #1 C:\xampp\htdocs\soap\test.php(14): SoapClient->GetKeywordByKeyword(Array) #2 {main} thrown in C:\xampp\htdocs\soap\test.php on line 14

Thanks Waiting for your reply.
Emma
Programming / Re: Please Can Someone Be Of Help In Webservices / Soap by emmawab(m): 2:11pm On Jan 13, 2011
megaplaza:

ok, well i don't have a php webhost, am using offline web server, how do i test my php code. I need access to the php web host you are using. Open the wsdl in a web browser then copy the output to a notepad, ssave aand attache here or copy and paste here, let me read it and get what i want. I can't do aanything without access to the host so the only alternative now is to open thee java wsdl in a web browser then copy the output aand paste here, so i can pick the details i want. But first open http://208.45.248.77:7983/gistme/ws/
keyword.wsdl on a web browser then copy and paste the output here. That might help.

Hi Megaplaza. Thanks for your response. Please this is the wsdl infos below.

This document had no style information.
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:sch0="http://www.gistme.com/ws/model/mmuser" xmlns:sch1="http://www.gistme.com/ws/model/kword" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.gistme.com/ws/model/kword" targetNamespace="http://www.gistme.com/ws/model/kword">
<wsdl:types>
<xs:schema xmlns:mmuser="http://www.gistme.com/ws/model/mmuser" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.gistme.com/ws/model/mmuser">
<xs:element name="MMUserXML">
<xs:complexType>
<xs:sequence>
<xs:element name="FirstName" type="xs:string"/>
<xs:element name="LastName" type="xs:string"/>
<xs:element name="Phone" type="xs:string"/>
<xs:element name="Phone1" type="xs:string"/>
<xs:element name="Phone2" type="xs:string"/>
<xs:element name="Uscard" type="xs:string"/>
<xs:element name="Month" type="xs:string"/>
<xs:element name="Day" type="xs:string"/>
<xs:element name="Year" type="xs:string"/>
<xs:element name="Email" type="xs:string"/>
<xs:element name="Sex" type="xs:string"/>
<xs:element name="State" type="xs:string"/>
<xs:element name="City" type="xs:string"/>
</xs:sequence>
<xs:attribute ref="mmuser:Id" use="required"/>
</xs:complexType>
</xs:element>
<xs:attribute name="Id" type="xs:int"/>
<xs:attribute name="Phone" type="xs:string"/>
<xs:attribute name="Pin" type="xs:string"/>
<xs:element name="AddMMUserRequest">
<xs:complexType>
<xs:sequence>
<xs:element ref="mmuser:MMUserXML"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AddMMUserResponse">
<xs:complexType>
<xs:sequence>
<xs:element ref="mmuser:MMUserXML"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MMUserOperationResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="ResponseCode" type="xs:string"/>
<xs:element name="Response" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetMMUserRequest">
<xs:complexType>
<xs:attribute ref="mmuser:Phone" use="required"/>
<xs:attribute ref="mmuser:Pin" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="GetMMUserResponse">
<xs:complexType>
<xs:sequence>
<xs:element ref="mmuser:MMUserXML"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UpdateMMUserRequest">
<xs:complexType>
<xs:sequence>
<xs:element ref="mmuser:MMUserXML"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<xs:schema xmlns:kword="http://www.gistme.com/ws/model/kword" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.gistme.com/ws/model/kword">
<xs:element name="KeywordXML">
<xs:complexType>
<xs:sequence>
<xs:element name="Datetime" type="xs:string"/>
<xs:element name="Phone" type="xs:string"/>
<xs:element name="Message" type="xs:string"/>
</xs:sequence>
<xs:attribute ref="kword:Id" use="required"/>
</xs:complexType>
</xs:element>
<xs:attribute name="Id" type="xs:int"/>
<xs:attribute name="keyword" type="xs:string"/>
<xs:attribute name="shortCode" type="xs:string"/>
<xs:attribute name="startDate" type="xs:string"/>
<xs:attribute name="endDate" type="xs:string"/>
<xs:element name="GetKeywordRequest">
<xs:complexType>
<xs:attribute ref="kword:keyword" use="required"/>
<xs:attribute ref="kword:shortCode" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="GetKeywordResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="kword:KeywordXML"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetKeywordByKeywordRequest">
<xs:complexType>
<xs:attribute ref="kword:keyword" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="GetKeywordByKeywordResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="kword:KeywordXML"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetKeywordByRangeRequest">
<xs:complexType>
<xs:attribute ref="kword:keyword" use="required"/>
<xs:attribute ref="kword:startDate" use="required"/>
<xs:attribute ref="kword:endDate" use="required"/>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name="GetKeywordByKeywordRequest">
<wsdl:part element="tns:GetKeywordByKeywordRequest" name="GetKeywordByKeywordRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetKeywordByKeywordResponse">
<wsdl:part element="tns:GetKeywordByKeywordResponse" name="GetKeywordByKeywordResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="MMUserOperationResponse">
<wsdl:part element="sch0:MMUserOperationResponse" name="MMUserOperationResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetKeywordResponse">
<wsdl:part element="tns:GetKeywordResponse" name="GetKeywordResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="AddMMUserResponse">
<wsdl:part element="sch0:AddMMUserResponse" name="AddMMUserResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetMMUserRequest">
<wsdl:part element="sch0:GetMMUserRequest" name="GetMMUserRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetKeywordByRangeRequest">
<wsdl:part element="tns:GetKeywordByRangeRequest" name="GetKeywordByRangeRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetMMUserResponse">
<wsdl:part element="sch0:GetMMUserResponse" name="GetMMUserResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="AddMMUserRequest">
<wsdl:part element="sch0:AddMMUserRequest" name="AddMMUserRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="UpdateMMUserRequest">
<wsdl:part element="sch0:UpdateMMUserRequest" name="UpdateMMUserRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="GetKeywordRequest">
<wsdl:part element="tns:GetKeywordRequest" name="GetKeywordRequest">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="Keyword">
<wsdl:operation name="UpdateMMUser">
<wsdl:input message="tns:UpdateMMUserRequest" name="UpdateMMUserRequest">
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="MMUserOperation">
<wsdl:output message="tns:MMUserOperationResponse" name="MMUserOperationResponse">
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetKeyword">
<wsdl:input message="tns:GetKeywordRequest" name="GetKeywordRequest">
</wsdl:input>
<wsdl:output message="tns:GetKeywordResponse" name="GetKeywordResponse">
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetKeywordByRange">
<wsdl:input message="tns:GetKeywordByRangeRequest" name="GetKeywordByRangeRequest">
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="AddMMUser">
<wsdl:input message="tns:AddMMUserRequest" name="AddMMUserRequest">
</wsdl:input>
<wsdl:output message="tns:AddMMUserResponse" name="AddMMUserResponse">
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetKeywordByKeyword">
<wsdl:input message="tns:GetKeywordByKeywordRequest" name="GetKeywordByKeywordRequest">
</wsdl:input>
<wsdl:output message="tns:GetKeywordByKeywordResponse" name="GetKeywordByKeywordResponse">
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetMMUser">
<wsdl:input message="tns:GetMMUserRequest" name="GetMMUserRequest">
</wsdl:input>
<wsdl:output message="tns:GetMMUserResponse" name="GetMMUserResponse">
</wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="KeywordSoap11" type="tns:Keyword">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="UpdateMMUser">
<soap:operation soapAction=""/>
<wsdl:input name="UpdateMMUserRequest">
<soap:body use="literal"/>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="MMUserOperation">
<soap:operation soapAction=""/>
<wsdl:output name="MMUserOperationResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetKeyword">
<soap:operation soapAction=""/>
<wsdl:input name="GetKeywordRequest">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="GetKeywordResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetKeywordByRange">
<soap:operation soapAction=""/>
<wsdl:input name="GetKeywordByRangeRequest">
<soap:body use="literal"/>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="AddMMUser">
<soap:operation soapAction=""/>
<wsdl:input name="AddMMUserRequest">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="AddMMUserResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetKeywordByKeyword">
<soap:operation soapAction=""/>
<wsdl:input name="GetKeywordByKeywordRequest">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="GetKeywordByKeywordResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetMMUser">
<soap:operation soapAction=""/>
<wsdl:input name="GetMMUserRequest">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="GetMMUserResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="KeywordService">
<wsdl:port binding="tns:KeywordSoap11" name="KeywordSoap11">
<soap:address location="http://208.45.248.77:7983/gistme/ws/keywordServices"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

Thanks once again. Waiting.
Emma
Programming / Re: Please Can Someone Be Of Help In Webservices / Soap by emmawab(m): 9:32am On Jan 13, 2011
megaplaza:

Sorry for my delayed response, see am using my phone to browse so cant view your java wsdl file. But i think the problem lies in the fact that u r passing wrong parameter and not calling the right method.
Check the web service description, check the number of parameter the method you will call requires, their data type then the name of the function you want to call.
For instance, a java web service function that add is done as follows
Public int add(int a, int b){
Return a + b,
}
Then when preparing parameter to be passed in php u do the following
$param = array("a" => 3, "b" => 4);

Then call the java add method as follows in php:
$result = $client->add($param);

Then print result by
var_dump($result);

In your case , read the wsdl file to see the name of the function you intend to use, say getKeywordByKey(), then decription of data type of parameter passed to it, and how many parameter it requires. Then make the appropriate ammendments or just give me the details, let me build it up for you

Also ensure that SOAP is supported in the server u r using.
Use
<?php
Echo php_info();
?>

Save as conf.php then test to see all the features supported and the PHP version you are using. This code wont work for versions less than PHP 5.O, if you have version PHP 4.O, THEN download and use NUSOAP library. But i believe you problem is from what i stated above not version problem.

Hi Megaplaza,
Goodday. Hope you are good. Indeed I was very happy to hear from you. You really asked what i have been hammering on for someone to help me out and solve this issue. If you could read my mails, you would have seen that i specifically stated it that i wouldnt mind appreciating the work the person will do for me with kind gesture in form of CASH, so I would please that you shouldnt use your phone to read it , so that you use normal system with internet to enable you see the wsdl infos and solve the stuff for me. As i said there are lot of things i would engage you in for this web services stuff if you could solve this one first, then i wouldnt mind contacting you personally to now solve the whole problem for me. Please this is my number and my email address once again. 08068951469 and emmawab@yahoo.co.uk . I would really be happy you solve this stuff for me is really getting late. Please.
Will give you the explanation again.
The project uses web services (wsdl) and Java back end framework. Now i have to incorporate it with Php front View for the client and i am really having problem with it. The Link to the server for the webservices is http://208.45.248.77:7983/gistme/ws/keyword.wsdl . And the View i want to establish using php is http://208.45.248.77:7983/gistmepublic/keyword.html. I was given the key word as GetKeywordBykeyword to establish the connection of the search for the client interface as the parameter for the search. I need to do a lot of things but this search is to get the knowledge on it to do the rest.
If you type the address that ends with keyword.html and type "fan", and click on search, you will get the infos displayed for the search.
PLEASE I WOULD REALY LIKE YOU TO DO THIS FOR ME AS YOU HAVE REQUESTED. And you wouldn't be disappointed for doing this. Your knowledge, your time, your energy, and the money you will spend by using the Internet will not be in vain. I promise you for that.
Thanks So much.
Emmanuel
Programming / Re: Please Can Someone Be Of Help In Webservices / Soap by emmawab(m): 4:08pm On Jan 12, 2011
emmawab:

Hi Megaplaza.
Thanks a lot. But I got some errors. After doing some small syntax error formating from you code which is

<?php
$ini = ini_set("soap.wsdl_cache_enabled", "0"wink;
//set java web service wsdl link
$wslink = "http://208.45.248.77:7983/gistme/ws/keyword.wsdl";

//set connection options
$options = array('features' => SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ARRAYS);

//create soap client
$client = new SoapClient($wslink, $options);

//create array of parameter to be
//passed

$value = "lagos";
$param = array("keyword" => $value);

//keyword above is the parameter or //variable name of the java function u
//intend to call.
//call the java web
//service fucntion
//say getKeyword

$response = $client->getKeyword($param);

var_dump($response);
// or use echo or print. The response
//can be
//in form of array then process
//and extract values u need.

?>

Then i got this error i run it

Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Client] Validation error in C:\xampp\htdocs\soap\test.php:24 Stack trace: #0 [internal function]: SoapClient->__call('getKeyword', Array) #1 C:\xampp\htdocs\soap\test.php(24): SoapClient->getKeyword(Array) #2 {main} thrown in C:\xampp\htdocs\soap\test.php on line 24.

Please can you be of help to me by trying it out on your pics and see. I would realy like you to be of help man. Thanks a lot.
Emmanuel

Hi Megaplaza.
I formated this code again by adding try and catch to it to get the actual error and i received these error which i cant really figure out.

The Code is

<?php
//require_once('nusoap.php');
$ini = ini_set("soap.wsdl_cache_enabled", "0"wink;
$error = 0;
try
{
//set java web service wsdl link
$wslink = "http://208.45.248.77:7983/gistme/ws/keyword.wsdl";

//set connection options
$options = array('features' => SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ARRAYS);

//create soap client
$client = new SoapClient($wslink, $options);

//create array of parameter to be
//passed

$value = "fan";
$param = array("keyword" => $value);

//keyword above is the parameter or //variable name of the java function u
//intend to call.
//call the java web
//service fucntion
//say getKeyword
$response = $client->GetKeywordByKeyword($param);
}
catch (SoapFault $fault) {
$error = 1;
echo 'Returned the following ERROR: ' .$fault->faultcode . '-' . $fault->faultstring ;
}

//$response = $client->getKeyword($param);



var_dump($response);
// or use echo or print. The response
//can be
//in form of array then process
//and extract values u need.

?>

and the Error is

Returned the following ERROR: SOAP-ENV:Client-Validation errorNULL.

Please waiting for your assistance. Thanks a lot.
Emmanuel
Programming / Re: Please Can Someone Be Of Help In Webservices / Soap by emmawab(m): 12:06pm On Jan 12, 2011
megaplaza:

Try the code below then, i suggest you test the java web service to make sure it works. If you are using Netbeans IDE, test the web service by selecting the web service then right click and click test web service. Then make sure you have PHP 5.0 version or above else u will need to dwload n use nusoap library, then write the following PHP code and try out:
<?php
$ini = ini_set("soap.wsdl_cache_enabled", "0"wink;
//set java web service wsdl link
$wslink = "http://208.45.248.77:7983/gistme/ws/ keyword.wsdl";

//set connection options
$options = array('features' => SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ARRAYS);

//create soap client
$client = new SoapClient($wslink, $options);

//create array of parameter to be
//passed

$value = "lagos";
$param = array("keyword" => $value);

//keyword above is the parameter or //variable name of the java function u
//intend to call.
call the java web
//service fucntion
say getKeyword

$response = $client->getKeyword($param);

var_dump($response);
// or use echo or print. The response
//can be
in form of array then process
//and extract values u need.

?>
//end of code
Save as test.php and test it.
i had similar problem when doing my project work as an undergraduate. This worked for me. I built the java web service using netbeans then used the php code above to call it. Pls ask me questions if u have any. NB REMEMBER TO REMOVE ALL COMMENTS BTW <?PHP AND ?>

Hi Megaplaza.
Thanks a lot. But I got some errors. After doing some small syntax error formating from you code which is

<?php
$ini = ini_set("soap.wsdl_cache_enabled", "0"wink;
//set java web service wsdl link
$wslink = "http://208.45.248.77:7983/gistme/ws/keyword.wsdl";

//set connection options
$options = array('features' => SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ARRAYS);

//create soap client
$client = new SoapClient($wslink, $options);

//create array of parameter to be
//passed

$value = "lagos";
$param = array("keyword" => $value);

//keyword above is the parameter or //variable name of the java function u
//intend to call.
//call the java web
//service fucntion
//say getKeyword

$response = $client->getKeyword($param);

var_dump($response);
// or use echo or print. The response
//can be
//in form of array then process
//and extract values u need.

?>

Then i got this error i run it

Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Client] Validation error in C:\xampp\htdocs\soap\test.php:24 Stack trace: #0 [internal function]: SoapClient->__call('getKeyword', Array) #1 C:\xampp\htdocs\soap\test.php(24): SoapClient->getKeyword(Array) #2 {main} thrown in C:\xampp\htdocs\soap\test.php on line 24.

Please can you be of help to me by trying it out on your pics and see. I would realy like you to be of help man. Thanks a lot.
Emmanuel
Programming / Re: Please Can Someone Be Of Help In Webservices / Soap by emmawab(m): 11:00am On Jan 12, 2011
Hi Kobojunkie, pc guru
Thanks for your contribution. I have gone through those stuff. Still having minor problems. Dont know if you could please solve on of this for me, then i can use it to do the rest of the application. I wouldnt mind given my appreciation in kind to the person that helped me out of this. The instructions is stated below.
The project uses web services (wsdl) and Java back end framework. Now i have to incorporate it with Php front View for the client and i am really having problem with it. The Link to the server for the webservices is http://208.45.248.77:7983/gistme/ws/keyword.wsdl . And the View i want to establish using php is http://208.45.248.77:7983/gistmepublic/keyword.html. I was given the key word as GetKeywordBykeyword to establish the connection of the search for the client interface. I need to do a lot of things but this search is to get the knowledge on it to do the rest. Please someone should help me out on this issue. The solution could be sent to my mail at emmawab@yahoo.co.uk or wabeke_emml@yahoo.com or be posted here for others to also learn from. I do trust you guys because i have learn t a lot from this forum. Thank you all for your support and help. Emmanuel
Programming / Re: Please Can Someone Be Of Help In Webservices / Soap by emmawab(m): 10:54am On Jan 12, 2011
kanirip:

Hello,

I am feeling really bad because I am about to send you back to the Internet where you found 'nothing meaningful'.

Seriously what could you not resolve? The idea of Web Services is that you can pass certain parameters to the Web Service machine using ANY programming language whatsoever.

To create a Web Service client ( an application that communicates with the Web Service Server) using php you should try this for starters http://php.net/manual/en/book.soap.php. It contains useful instructions for communicating with a web service using Php.

If you need any more assistance, let us know.

Best of Luck.

Hi Mr Kanirp
Thanks alot for your instructions. As i said that i did not get any meaning full stuff, it isnt that it wasnt meaningful, but it just that some of them have code errors or syntax errors in them which i couldn't debug and then that makes the example not to work as indicated by the writer. Please i have seen that you might be good in this. Would please like you to help me out in this and i wouldnt mind appreciating it with cash if possible as is really what i have to do personally. Please these are the instruction on them.
The project uses web services (wsdl) and Java back end framework. Now i have to incorporate it with Php front View for the client and i am really having problem with it. The Link to the server for the webservices is http://208.45.248.77:7983/gistme/ws/keyword.wsdl . And the View i want to establish using php is http://208.45.248.77:7983/gistmepublic/keyword.html. I was given the key word as GetKeywordBykeyword to establish the connection of the search for the client interface. I need to do a lot of things but this search is to get the knowledge on it to do the rest. Please someone should help me out on this issue. The solution could be sent to my mail at emmawab@yahoo.co.uk or wabeke_emml@yahoo.com or be posted here for others to also learn from. I do trust you guys because i have learn t a lot from this forum. Thank you all for your support and help. Emmanuel
Programming / Please Can Someone Be Of Help In Webservices / Soap by emmawab(m): 11:23am On Jan 11, 2011
Hi Naira Landers,
Please i am new to Webservices and want to Implement it to a system i am to build. The Webservices uses XML and Java as the back end and I am to Interface the client with php front end which i do work with. Now my problem is to interpret the wsdl files and pass the php client script to it so that the users can access the the infos in the server. Please can someone be of help to me in this. I will really appreciate it alot. I tried using the examples i got in the net and couldnt get anything meaningful out of it. Hope to hear from you guys soonest.
Thank you in advance. I am currently in Abuja. Incase you are in Abuja and you want me to get in touch with you on this, I wouldnt mind meeting you. Thanks
Emmanuel (08068951469)
Jobs/Vacancies / Gbb Apt Test by emmawab(m): 2:26pm On Dec 06, 2010
Nairalanders!!! Please has anyone gotten info about the Apt Test for Galaxy Back Bone (GBB) that was done some time ago in Abuja. Please has anyone been called for interview? Please post your reply here or mail me at emmawab@yahoo.co.uk. Have infos for you .Thanks
Jobs/Vacancies / Gbb Apt Text by emmawab(m): 2:22pm On Dec 06, 2010
Nairalanders!!! Please has anyone gotten info about the Apt Text for Galaxy Back Bone (GBB) that was done some time ago in Abuja. Please has anyone been called for interview? Please post your reply here or mail me at emmawab@yahoo.co.uk. Have infos for you .Thanks
Business / Re: Airplane, Aeroplane For Sale In Abuja Nigeria by emmawab(m): 2:00pm On Dec 06, 2010
Chino_anyi
Chino_anyi:

This re those poo i do kick against here too, dey will come here place advert on so many trash they dont kno the process of going tru ,

dnt b surprise if u want to buy this plane u will end up going from this guy to anoda person on n on n on like that, n at the tail end noting will come out of it,

I ve meet pple like this here,

JIDE ( screen name , serkem/ jayus ), this guy check all his post, he is into every thing eg, Gold , diamond , Oil ring , the end s USELESS , but if u see this guy, u will tink he is a gate man, d first day i meet him, i was loking at his back to see a humer car he must ve parkd some were, my bro noting i see, wat pain me most that day is him beging my trans mone to enta molue (bus ) bak home, imagine a rich poster ,

Anoda guy is CHUX 76 his post here re always wide eg, i have 50000 met tones of AGO 4sale, but this guy culd eat just 1500 i sent to him to use run things 4 me, poor u sorry ,

Anoda guy is tunde, this one will post AGO to any location 85 naira, at d end wen u prepare bank draft for the prodt, wat u will here is , guy no vex dey tell me say na ship d prodt day, pure rubbish,

i can mention more than 20 pple names here, but all the same, d best i will advice NAIRALAND s for us to pay here b4 we post any thing, that way it will reduce unserious jokers here,


to u guys i post your name here, plss its not a beef but a word of advise change , if u see me 4 road any day, be free to fite me if u can


Chino_anyi
You are a useless HUMAN BEING. Sorry to say this. Is your type that always seek for Jobs all the time without getting the Job. Because you have limited brain. Man organize your brain well and know how to read. What you always do when coming to Nairaland is to come here to look for job and if you don't get any, you become so angry that you will now start quarreling with people that posts adverts. If you are the type that reads, You would have noted that some people made comment on the topic of this post and some explanations have been made. Yet still MUMU and MUGU like you can still come here and post rubbish. Is because you don't have work to do that is why you can carry people's name and the job they posted in your head. Please my Advice for you is to go and look for something and do so that you wouldn't be frustrated like this to carry unnecessary things in your head. If throughly you know what nairaland was all about, you should have known that this advert weren't posted in the Job / career column of the site. But based on your Mentality about having all the pages in this site to be Job , job, job, you visit any page and hope that every page is job ,job, and if you don't see, you become like a tiger that is so hungry that wants to eat anything it sees. To enlighten you a bit. I know that you cant buy a plane and neither can i buy too. But some Nairaland people might know someone, organizations etc that can buy it. I know that YOU don't even know someone who can buy a car talking of a Plane. This Advert, the description and every thing about the plane has been written there. The Website address, Email address, phone number and the Name of the contact. DID YOU Call the person and he did not answer you. You don't even have credit to flash how much more to call. When you don't even know someone who can buy a bicycle is it to waste your flashing credit to call for a plane. Even your money you paid at the Internet Cafe to browse and search for jobs is not even enough how much more to send an email.
Man my advice for you is to read well before you start making comment of every thing you see. At least if you did not get any thing from this nairaland, let this enter your head and your brain, It will at least help you get that job you have been searching for all this while. Probably who knows that is why you have always been failing in your interviews and APT because you don't read instructions. ADVICE YOUR SELF MAN.
Business / Re: Airplane, Aeroplane For Sale In Abuja Nigeria by emmawab(m): 10:03am On Dec 02, 2010
Hello Guys, Thanks for all your contributions. They are all wonderful. At least bringing the advert here in Nairaland does not mean that Naira land guys or ladies will buy the plane, but at least they might know one or two people in the society who can afford to buy it. Advert does not have limit . The place you think you might not be able to make sales, is the place you might see all your miracles happening. To advice those that said this place is not a place for advert. This advert has gone to many places for example like www.buyplanesforsale.com,www.connectnigeria.com,www.airplanemart.com,www.google.com, to mention a few. So bringing it here to naira land does not mean that people in Naira land aren't good enough. If what most people are thinking is that people that comes to Nairaland are only Job seekers, it isn't true. Somepeople come here to have fun and from there fun, they see informations to pass around.
Once again. I thank you guys for you infos.
Autos / Re: Boeing 747 For Sale by emmawab(m): 4:03pm On Nov 30, 2010
Please Visit http://www.pafaircraft.com
for more information. Thanks

Business / Aircraft, Airplain For Sale, Europlan For Sale, Plane For Sale In Nigeria by emmawab(m): 1:32pm On Nov 30, 2010
3 AIRCRAFT For Sale at presidential air fleet Nigeria

Travel / Re: Passengers Exchange Blows In Moving Airplane by emmawab(m): 1:14pm On Nov 30, 2010
Kindly visit www.pafaircraft.com for details.
Thanks

Business / Airplane, Aeroplane For Sale In Abuja Nigeria by emmawab(m): 12:40pm On Nov 30, 2010
HAWKER 125 - 800B
Aircraft Type: Hawker 125-800B
Price: Make Offer
Year: 1990
Total Time Airframe: 8303.40 Hours
Cycle: 6406
Serial Number: 258143
Location: Presidential Air Fleet, Abuja, Nigeria

FALCON - 900B

Aircraft Type: Falcon 900B
Price: Make Offer
Year: 1988
Total Time Airframe : 10274:50 Hrs
Cycle: 8141
Serial Number: 052
Location: Presidential Air Fleet, Abuja, Nigeria

GULFSTREAM IV

Aircraft Type: Gulfstream IV
Price: Make Offer
Year: 1990
Total Time Airframe : 6744 Hrs
Cycle: 5066
Serial Number: 1126
Location: Abuja, Nigeria


Kindly visit www.pafaircraft.com for details.
Thanks

Autos / Aircraft For Sale In Abuja Nigeria by emmawab(m): 12:38pm On Nov 30, 2010
Kindly visit www.pafaircraft.com for details.
Thanks
Business / Looking For Project Topics On Business by emmawab(m): 1:02pm On Jul 19, 2010
Good day every one. Pls can someone assist me to get project topics related to Business Admin. Am doing my PGD in Business Admin and needs a project topics for my project work. Please If you do have any, kindly send it to my Mail at emmawab@yahoo.co.uk. Will be glad to receive it. Very very urgent pls. Will contact you for detail about the project topic when is approved. Thanks.
Jobs/Vacancies / Mtn Test Update by emmawab(m): 4:26pm On Oct 08, 2009
MTN called for test last week 30th Sept, Please if you were among those that did the test, kindly tell me if they have called for Interview. Thanks
Jobs/Vacancies / Firs Test In Fct by emmawab(m): 4:22pm On Oct 08, 2009
Please Can someone Tell me where the test location for FIRS will be in FCT (Abuja). This is my number 08068951469. kindly text me the location or past it here for other to have access to. Thank you very much.
Dating And Meet-up Zone / Need A Sugar Mummy As A Friend (good One Indeed) by emmawab(m): 12:24pm On Sep 22, 2008
Hi Nairalanders. A Young Man here looking for a sugar muumy as a friend. Location is Abuja. Please if you are interested in me, Kindly mail me with this emmawab@yahoo.co.uk or call 08073935346. Hope to hear from that special person. Take care and remain blessed. One Love
Emmanuel
Jobs/Vacancies / Re: Nysc For Foreign Graduates by emmawab(m): 12:18pm On Sep 17, 2008
Hello
You ought to come down to Nigeria to Register for your NYSC. I was also a foreign Graduate who came down to Nigeria to Register for it and Did it. As a foreign graduate, you have more advantage than Nigerian Graduates because you ought to be asked to choose a Location where you want to serve like, Abuja, Lagos, etc.
Where did you school and which country. incase to help you out, this is my email address emmawab@nextdaysite.com
Take care and prepare to come to Nigeria for your service if you really want to belong and participate in Nigeria Affairs.
Bye
Emmanuel
Jobs/Vacancies / Re: Aso Savings by emmawab(m): 8:50am On Mar 27, 2008
Please where did you submit your CV ? and Can someone go to any of there Bank Brach in Abuja to Submit his or her CV. Please I will like to know. Thank you

(1) (of 1 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 167
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.