Inline variable in the register statement

Help
2012-11-14
2013-06-06
  • Hi

    I have the following challenge.
    I need to send and recieve variables in the function name tag, like this:

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.arcus-integration.no/services">
       <soapenv:Header/>
       <soapenv:Body>
          <ser:confirmMessage CreationDateTime="?" InterchangeId="?" SenderSystemId="?">
             <ser:ReferedInterchangeId>?</ser:ReferedInterchangeId>
             <ser:ReferedMessageName>?</ser:ReferedMessageName>
             <ser:ProcessedDateTime>?</ser:ProcessedDateTime>
          </ser:confirmMessage>
       </soapenv:Body>
    </soapenv:Envelope>

    The function name is confirmMessage, and after that I will recieve (or send) these variables.
    I just do not manage to build it into the register call. Right now my register looks like this:

    $Ny->register('confirmMessage',
                array(  'ReferedInterchangeId'  => 'xsd:string',
                        'ReferedMessageName'    => 'xsd:string',
                        'ProcessedDateTime'     => 'xsd:string',
                        'StatusMessage'         => 'tns:StatusMessage'),    // input parameters  
                array(  'Configurations'        => 'tns:parameters'),       // output parameter             
                $NS,                                                // namespace
                'confirmMessage',                                   // soapaction
                'document',                                         // style
                'encoded',                                          // use
                'Confirms that the info has been recieved'          // documentation
                );

    Can anyone help me getting this fixed?