Packageindex Classtrees Modulegroups Elementlist Report XML Files

soapmsg

nusoap_base
   |
  +-- soapmsg

public class soapmsg extends nusoap_base

soap message class

Authorsdietrich ayala <dietrich@ganx4.com>
Versionv 0.051

 

Methods inherited from nusoap_base

nusoap_base, debug, seterror, serialize_val, serializeenvelope, soapclient, call, getoperationdata, send, parseresponse, setheaders, getheaders, sethttpproxy, setcredentials, getproxy, soapval, decode, soap_parser, start_element, end_element, character_data, get_response, decode_entities, buildval, buildsoapval, soap_transport_http, setsoapaction, setproxy, sendhttps, soap_server, service, parse_request, verify_method, add_to_map, register, fault, webdescription, configurewsdl, xmlschema, parsefile, parsestring, schemastartelement, schemaendelement, schemacharacterdata, serializeschema, expandqname, xdebug, getphptype, getlocalpart, getprefix, getnamespacefromprefix, getprefixfromnamespace, gettypedef, serializetypedef, typetoform, wsdl, parsewsdl, getoperations, serializerpcparameters, serializetype, soap_fault, timestamp_to_iso8601, iso8601_to_timestamp, formatdump, lib_bwcheck, makeobj, b_writeit, popup, popout, getbindingdata, getmessagedata

Public Method Summary

void soapmsg(string $method, string $params, [ string $method_namespace, string $style ])
constructor
void add_headers(array $headers)
add headers
string createPayload()
creates the finished XML SOAP message string

Private Method Summary

void make_headers()
serializers headers and wraps em up
string serialize()
serializes message payload, if not already done.Warning: documentation is missing.
void serializeDebug()
preps debug data for encoding into soapmsg
boolean getError()
returns error string if presentWarning: documentation is missing.

Fields inherited from nusoap_base

$soap_defencoding, $namespaces, $typemap, $xmlentities, $fault, $title, $version, $error_str, $username, $password, $requestheaders, $responseheaders, $endpoint, $portname, $url, $operations, $headers, $request, $xml_encoding, $result, $faultcode, $faultactor, $faultstring, $faultdetail

Included files inherited from nusoap_base

class.soap_transport_http.php

Public Method Details

soapmsg

public void soapmsg(string $method, string $params, [ string $method_namespace, string $style ])

  constructor

Parameter
string $method
name of SOAP operation
string $params
array of soapval objects
string $method_namespace = >>"http://testuri.org"<<
SOAP operation namespace
string $style = >>'rpc'<<
rpc|literal, default is rpc
Returns void


add_headers

public void add_headers(array $headers)

  add headers

Parameter
array $headers
array of soapval objects
Returns void


createPayload

public string createPayload()

  creates the finished XML SOAP message string adds debug data if necessary TODO: move make_envelope functionality here

Returns string

complete SOAP message


Private Method Details

make_headers

private void make_headers()

  serializers headers and wraps em up

Returns void


serialize

private string serialize()

  serializes message payload, if not already done. TODO: extraneous, should move functionality into parseResponse()

Warning: documentation is missing.

Returns string

complete SOAP message


serializeDebug

private void serializeDebug()

  preps debug data for encoding into soapmsg

Returns void


getError

private boolean getError()

  returns error string if present

Warning: documentation is missing.

Returns boolean $string

error string



Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta