Ankündigung

Einklappen
Keine Ankündigung bisher.

Fatal error: Using $this when not in object context

Einklappen

Neue Werbung 2019

Einklappen
X
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • Fatal error: Using $this when not in object context

    Hallo liebes Forum

    Könnte mir evt jemand weiter helfen und mir erklären was es mit dieser Fehlermeldung auf sich hat:

    Fatal error: Using $this when not in object context in C:\xampp\htdocs\test\test.php on line 5

    test.php
    PHP-Code:
    <?php
    include('WapToolServicesService.php');

    try {
      
    $this->apiKey 'X';
      
    $this->environment '2';
      
    $this->techId '22222';
      
    $this->transactionReference '1';
      
    $this->user 'TEST';
      
    $this->page 1;
      
    $this->perPage 10;
      
    $this->client = new WapToolServicesService();
      
    $this->parameters = array();
            
      
    $this->parameters['apiKey'] = $this->apiKey;
      
    $this->parameters['environment'] = $this->environment;
      
    $this->parameters['techId'] = $this->techId;
      
    $this->parameters['transactionReference'] = $this->transactionReference;
      
    $this->parameters['user'] = $this->user;
      
    $this->parameters['page'] = $this->page;
      
    $this->parameters['perPage'] = $this->perPage;
      
      
    $ret_arr = array();
      
    $this->parameters = array('apiKey' => $this->apiKey,'environment' => $this->environment,'techId' => $this->techId,'transactionReference' => $this->transactionReference,'user' => $this->user,'page' => $this->page,'perPage' => $this->perPage);
      
    $xx = new servicePartnerWorkOrders();
      
    $xx->in0 $this->parameters;
      
    $response $this->client->servicePartnerWorkOrders($xx);

      
    $i 0;
      if(
    $response->out->workOrderList != NULL){
         foreach(
    $response->out->workOrderList as $list){
            
    $auftrag = new workOrderList;
            
    $arr2 = array();
            foreach(
    $list->dataPairs->entry as $row){
                switch(
    $row->key){
                    case 
    "WORK_ORDER_NUMBER":
                    
    $auftrag->work_order_number $row->value;
                    break;
                    case 
    "WORK_ORDER_TYPE":
                    
    $auftrag->work_order_type $row->value;
                    break;
                    case 
    "ACTIVITY_CODE":
                    
    $auftrag->activity_code $row->value;
                    break;
                }
            }
            
    array_push($ret_arr,$auftrag);
            
    $i++;
         }
      }
      return 
    $ret_arr;  
    } catch (
    SOAPFault $exception) {
      echo 
    "Fehler: ".$exception->faultstring;
    }
    ?>
    WapToolServicesService.php
    PHP-Code:
    <?php
    class CreateBirthCertRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $macAddress// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $woNumber// string
    }

    class 
    GetBirthCertRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $macAddress// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
    }

    class 
    SnapshotRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $macAddress// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
    }

    class 
    CheckinWoRequest {
      public 
    $apiKey// string
      
    public $checkinComment// string
      
    public $comments// ArrayOfString
      
    public $environment// string
      
    public $ltdTag// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $woNumber// string
    }

    class 
    UpdateSTBBackChannelStatusRequest {
      public 
    $apiKey// string
      
    public $backChannel// string
      
    public $environment// string
      
    public $serialNumber// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $woNumber// string
    }

    class 
    ProvisionWoRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $equipmentList// ArrayOfEquipment
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $woNumber// string
    }

    class 
    TroubleWoRequest {
      public 
    $apiKey// string
      
    public $comments// ArrayOfString
      
    public $completionDate// string
      
    public $completionTime// string
      
    public $environment// string
      
    public $faultCode// string
      
    public $fixCode// string
      
    public $solutionCode// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $woNumber// string
      
    public $wordmComment// string
    }

    class 
    SsResponse {
      public 
    $dataPairs// anyType2anyTypeMap
      
    public $errors// anyType2anyTypeMap
      
    public $success// boolean
      
    public $transactionReference// string
    }

    class 
    GetWoRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $woNumber// string
    }

    class 
    checkinWorkOrder {
      public 
    $in0// CheckinWoRequest
    }

    class 
    checkinWorkOrderResponse {
      public 
    $out// SsResponse
    }

    class 
    closeTroubleTicket {
      public 
    $in0// TroubleWoRequest
    }

    class 
    closeTroubleTicketResponse {
      public 
    $out// SsResponse
    }

    class 
    createBirthCertificate {
      public 
    $in0// CreateBirthCertRequest
    }

    class 
    createBirthCertificateResponse {
      public 
    $out// SsResponse
    }

    class 
    getBirthCertificate {
      public 
    $in0// GetBirthCertRequest
    }

    class 
    getBirthCertificateResponse {
      public 
    $out// SsResponse
    }

    class 
    getSnapshot {
      public 
    $in0// SnapshotRequest
    }

    class 
    getSnapshotResponse {
      public 
    $out// SsResponse
    }

    class 
    getWorkOrder {
      public 
    $in0// GetWoRequest
    }

    class 
    getWorkOrderResponse {
      public 
    $out// SsResponse
    }

    class 
    provisionWorkOrder {
      public 
    $in0// ProvisionWoRequest
    }

    class 
    provisionWorkOrderResponse {
      public 
    $out// SsResponse
    }

    class 
    updateSTBBackChannelStatus {
      public 
    $in0// UpdateSTBBackChannelStatusRequest
    }

    class 
    updateSTBBackChannelStatusResponse {
      public 
    $out// SsResponse
    }

    class 
    anyType2anyTypeMap {
      public 
    $entry// entry
    }

    class 
    entry {
      public 
    $key// anyType
      
    public $value// anyType
    }

    class 
    addUpdateWorkOrderComments {
      public 
    $in0// AddUpdateWorkOrderCommentsRequest
    }

    class 
    addUpdateWorkOrderCommentsResponse {
      public 
    $out// SsResponse
    }

    class 
    checkinSRO {
      public 
    $in0// CheckinSRORequest
    }

    class 
    checkinSROResponse {
      public 
    $out// SsResponse
    }

    class 
    customerCPE {
      public 
    $in0// GetCustomerCPERequest
    }

    class 
    customerCPEResponse {
      public 
    $out// GetCustomerCPESsResponse
    }

    class 
    customerServices {
      public 
    $in0// CustomerServicesRequest
    }

    class 
    customerServicesResponse {
      public 
    $out// CustomerServicesSsResponse
    }

    class 
    customerSnapshot {
      public 
    $in0// CustomerSnapshotRequest
    }

    class 
    customerSnapshotResponse {
      public 
    $out// CustomerSnapshotSsResponse
    }

    class 
    customerWorkOrders {
      public 
    $in0// CustomerWorkOrdersRequest
    }

    class 
    customerWorkOrdersResponse {
      public 
    $out// CustomerWorkOrdersSsResponse
    }

    class 
    getCustomerComments {
      public 
    $in0// GetCustomerCommentsRequest
    }

    class 
    getCustomerCommentsResponse {
      public 
    $out// GetCustomerCommentsSsResponse
    }

    class 
    getWorkOrderActivities {
      public 
    $in0// GetWorkOrderActivitiesRequest
    }

    class 
    getWorkOrderActivitiesResponse {
      public 
    $out// GetWorkOrderActivitiesSsResponse
    }

    class 
    getWorkOrderComments {
      public 
    $in0// GetWorkOrderCommentsRequest
    }

    class 
    getWorkOrderCommentsResponse {
      public 
    $out// GetWorkOrderCommentsSsResponse
    }

    class 
    getWorkOrderDetails {
      public 
    $in0// GetWorkOrderDetailsRequest
    }

    class 
    getWorkOrderDetailsResponse {
      public 
    $out// SsResponse
    }

    class 
    objectHistory {
      public 
    $in0// ObjectHistoryRequest
    }

    class 
    objectHistoryResponse {
      public 
    $out// ObjectHistorySsResponse
    }

    class 
    processWorkOrder {
      public 
    $in0// ProcessWorkOrderRequest
    }

    class 
    processWorkOrderResponse {
      public 
    $out// ProcessWorkOrderSsResponse
    }

    class 
    servicePartnerEquipment {
      public 
    $in0// ServicePartnerEquipmentRequest
    }

    class 
    servicePartnerEquipmentResponse {
      public 
    $out// ServicePartnerEquipmentSsResponse
    }

    class 
    servicePartnerPickUp {
      public 
    $in0// ServicePartnerPickUpRequest
    }

    class 
    servicePartnerPickUpConfirmation {
      public 
    $in0// ServicePartnerPickUpConfirmationRequest
    }

    class 
    servicePartnerPickUpConfirmationResponse {
      public 
    $out// ServicePartnerPickUpConfirmationSsResponse
    }

    class 
    servicePartnerPickUpResponse {
      public 
    $out// ServicePartnerPickUpSsResponse
    }

    class 
    servicePartnerUpdateNotification {
      public 
    $in0// ServicePartnerUpdateNotificationRequest
    }

    class 
    servicePartnerUpdateNotificationResponse {
      public 
    $out// ServicePartnerUpdateNotificationSsResponse
    }

    class 
    servicePartnerWorkOrders {
      public 
    $in0// ServicePartnerWorkOrdersRequest
    }

    class 
    servicePartnerWorkOrdersResponse {
      public 
    $out// ServicePartnerWorkOrdersSsResponse
    }

    class 
    ServicePartnerPickUpConfirmationSsResponse {
      public 
    $pickupOrderConfirmationList// DataPairsList
      
    public $errors// anyType2anyTypeMap
      
    public $success// boolean
      
    public $transactionReference// string
    }

    class 
    DataPairsList {
      public 
    $dataPairs// anyType2anyTypeMap
    }

    class 
    GetWorkOrderActivitiesRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $woNumber// string
    }

    class 
    CustomerSnapshotRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $customerNumber// string
      
    public $page// int
      
    public $perPage// int
    }

    class 
    ServicePartnerEquipmentRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $page// string
      
    public $perPage// string
    }

    class 
    CustomerWorkOrdersRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $customerNumber// string
    }

    class 
    CustomerWorkOrdersSsResponse {
      public 
    $workOrderList// DataPairsList
      
    public $success// boolean
      
    public $errors// anyType2anyTypeMap
      
    public $transactionReference// string
    }

    class 
    GetCustomerCommentsSsResponse {
      public 
    $custCommentList// CustComment
      
    public $success// boolean
      
    public $errors// anyType2anyTypeMap
      
    public $transactionReference// string
    }

    class 
    CustComment {
      public 
    $comments// ArrayOfStrings
      
    public $dataPairs// anyType2anyTypeMap
    }

    class 
    ProcessWorkOrderRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $woNumber// string
      
    public $action// string
      
    public $dataPairs// anyType2anyTypeMap
    }

    class 
    GetCustomerCPESsResponse {
      public 
    $activeCPEList// ActiveCPE
      
    public $historicCPEList// HistoricCPE
      
    public $success// boolean
      
    public $errors// anyType2anyTypeMap
      
    public $transactionReference// string
    }

    class 
    ActiveCPE {
      public 
    $dataPairs// anyType2anyTypeMap
    }

    class 
    HistoricCPE {
      public 
    $dataPairs// anyType2anyTypeMap
    }

    class 
    ServicePartnerUpdateNotificationSsResponse {
      public 
    $notificationList// DataPairsList
      
    public $errors// anyType2anyTypeMap
      
    public $success// boolean
      
    public $transactionReference// string
    }

    class 
    ObjectHistoryRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $customerNumber// string
    }

    class 
    CustomerSnapshotSsResponse {
      public 
    $equipSnapshotList// DataPairsList
      
    public $success// boolean
      
    public $errors// anyType2anyTypeMap
      
    public $transactionReference// string
      
    public $moreItems// boolean
    }

    class 
    CustomerServicesSsResponse {
      public 
    $customerServiceList// DataPairsList
      
    public $success// boolean
      
    public $errors// anyType2anyTypeMap
      
    public $transactionReference// string
    }

    class 
    ServicePartnerEquipmentSsResponse {
      public 
    $equipmentList// DataPairsList
      
    public $moreItems// boolean
      
    public $success// boolean
      
    public $errors// anyType2anyTypeMap
      
    public $transactionReference// string
    }

    class 
    CheckinSRORequest {
      public 
    $apiKey// string
      
    public $checkinComment// string
      
    public $comments// ArrayOfString
      
    public $environment// string
      
    public $ltdTag// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $woNumber// string
    }

    class 
    CustomerServicesRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $customerNumber// string
    }

    class 
    ServicePartnerPickUpConfirmationRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $pickupOrderConfirmationList// DataPairsList
    }

    class 
    ProcessWorkOrderSsResponse {
      public 
    $success// boolean
      
    public $errors// anyType2anyTypeMap
      
    public $transactionReference// string
      
    public $dataPairs// anyType2anyTypeMap
    }

    class 
    GetCustomerCommentsRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $customerNumber// string
      
    public $positionDate// string
      
    public $positionTime// string
    }

    class 
    ServicePartnerWorkOrdersSsResponse {
      public 
    $workOrderList// DataPairsList
      
    public $moreItems// boolean
      
    public $success// boolean
      
    public $errors// anyType2anyTypeMap
      
    public $transactionReference// string
    }

    class 
    ServicePartnerUpdateNotificationRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
    }

    class 
    ObjectHistorySsResponse {
      public 
    $objectHistoryList// DataPairsList
      
    public $success// boolean
      
    public $errors// anyType2anyTypeMap
      
    public $transactionReference// string
    }

    class 
    ServicePartnerWorkOrdersRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $page// int
      
    public $perPage// int
    }

    class 
    ServicePartnerPickUpSsResponse {
      public 
    $pickupOrderList// DataPairsList
      
    public $errors// anyType2anyTypeMap
      
    public $success// boolean
      
    public $transactionReference// string
    }

    class 
    GetWorkOrderDetailsRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $woNumber// string
    }

    class 
    AddUpdateWorkOrderCommentsRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $woNumber// string
      
    public $comments// ArrayOfStrings
    }

    class 
    ServicePartnerPickUpRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
    }

    class 
    GetCustomerCPERequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $customer// string
    }

    class 
    GetWorkOrderActivitiesSsResponse {
      public 
    $activityList// WorkOrderActivity
      
    public $success// boolean
      
    public $errors// anyType2anyTypeMap
      
    public $transactionReference// string
    }

    class 
    WorkOrderActivity {
      public 
    $dataPairs// anyType2anyTypeMap
    }

    class 
    GetWorkOrderCommentsSsResponse {
      public 
    $comments// ArrayOfStrings
      
    public $dataPairs// anyType2anyTypeMap
      
    public $errors// anyType2anyTypeMap
      
    public $success// boolean
      
    public $transactionReference// string
    }

    class 
    GetWorkOrderCommentsRequest {
      public 
    $apiKey// string
      
    public $environment// string
      
    public $techId// string
      
    public $transactionReference// string
      
    public $user// string
      
    public $woNumber// string
    }

    class 
    Equipment {
      public 
    $baseBackChannel// string
      
    public $baseEquipmentType// string
      
    public $baseSerialNumber// string
      
    public $pairedBackChannel// string
      
    public $pairedEquipmentType// string
      
    public $pairedSerialNumber// string
    }


    /**
     * WapToolServicesService class
     * 
     *  
     * 
     * @author    {author}
     * @copyright {copyright}
     * @package   {package}
     */
    class WapToolServicesService extends SoapClient {

      private static 
    $classmap = array(
                                        
    'CreateBirthCertRequest' => 'CreateBirthCertRequest',
                                        
    'GetBirthCertRequest' => 'GetBirthCertRequest',
                                        
    'SnapshotRequest' => 'SnapshotRequest',
                                        
    'CheckinWoRequest' => 'CheckinWoRequest',
                                        
    'UpdateSTBBackChannelStatusRequest' => 'UpdateSTBBackChannelStatusRequest',
                                        
    'ProvisionWoRequest' => 'ProvisionWoRequest',
                                        
    'TroubleWoRequest' => 'TroubleWoRequest',
                                        
    'SsResponse' => 'SsResponse',
                                        
    'GetWoRequest' => 'GetWoRequest',
                                        
    'checkinWorkOrder' => 'checkinWorkOrder',
                                        
    'checkinWorkOrderResponse' => 'checkinWorkOrderResponse',
                                        
    'closeTroubleTicket' => 'closeTroubleTicket',
                                        
    'closeTroubleTicketResponse' => 'closeTroubleTicketResponse',
                                        
    'createBirthCertificate' => 'createBirthCertificate',
                                        
    'createBirthCertificateResponse' => 'createBirthCertificateResponse',
                                        
    'getBirthCertificate' => 'getBirthCertificate',
                                        
    'getBirthCertificateResponse' => 'getBirthCertificateResponse',
                                        
    'getSnapshot' => 'getSnapshot',
                                        
    'getSnapshotResponse' => 'getSnapshotResponse',
                                        
    'getWorkOrder' => 'getWorkOrder',
                                        
    'getWorkOrderResponse' => 'getWorkOrderResponse',
                                        
    'provisionWorkOrder' => 'provisionWorkOrder',
                                        
    'provisionWorkOrderResponse' => 'provisionWorkOrderResponse',
                                        
    'updateSTBBackChannelStatus' => 'updateSTBBackChannelStatus',
                                        
    'updateSTBBackChannelStatusResponse' => 'updateSTBBackChannelStatusResponse',
                                        
    'anyType2anyTypeMap' => 'anyType2anyTypeMap',
                                        
    'entry' => 'entry',
                                        
    'addUpdateWorkOrderComments' => 'addUpdateWorkOrderComments',
                                        
    'addUpdateWorkOrderCommentsResponse' => 'addUpdateWorkOrderCommentsResponse',
                                        
    'checkinSRO' => 'checkinSRO',
                                        
    'checkinSROResponse' => 'checkinSROResponse',
                                        
    'customerCPE' => 'customerCPE',
                                        
    'customerCPEResponse' => 'customerCPEResponse',
                                        
    'customerServices' => 'customerServices',
                                        
    'customerServicesResponse' => 'customerServicesResponse',
                                        
    'customerSnapshot' => 'customerSnapshot',
                                        
    'customerSnapshotResponse' => 'customerSnapshotResponse',
                                        
    'customerWorkOrders' => 'customerWorkOrders',
                                        
    'customerWorkOrdersResponse' => 'customerWorkOrdersResponse',
                                        
    'getCustomerComments' => 'getCustomerComments',
                                        
    'getCustomerCommentsResponse' => 'getCustomerCommentsResponse',
                                        
    'getWorkOrderActivities' => 'getWorkOrderActivities',
                                        
    'getWorkOrderActivitiesResponse' => 'getWorkOrderActivitiesResponse',
                                        
    'getWorkOrderComments' => 'getWorkOrderComments',
                                        
    'getWorkOrderCommentsResponse' => 'getWorkOrderCommentsResponse',
                                        
    'getWorkOrderDetails' => 'getWorkOrderDetails',
                                        
    'getWorkOrderDetailsResponse' => 'getWorkOrderDetailsResponse',
                                        
    'objectHistory' => 'objectHistory',
                                        
    'objectHistoryResponse' => 'objectHistoryResponse',
                                        
    'processWorkOrder' => 'processWorkOrder',
                                        
    'processWorkOrderResponse' => 'processWorkOrderResponse',
                                        
    'servicePartnerEquipment' => 'servicePartnerEquipment',
                                        
    'servicePartnerEquipmentResponse' => 'servicePartnerEquipmentResponse',
                                        
    'servicePartnerPickUp' => 'servicePartnerPickUp',
                                        
    'servicePartnerPickUpConfirmation' => 'servicePartnerPickUpConfirmation',
                                        
    'servicePartnerPickUpConfirmationResponse' => 'servicePartnerPickUpConfirmationResponse',
                                        
    'servicePartnerPickUpResponse' => 'servicePartnerPickUpResponse',
                                        
    'servicePartnerUpdateNotification' => 'servicePartnerUpdateNotification',
                                        
    'servicePartnerUpdateNotificationResponse' => 'servicePartnerUpdateNotificationResponse',
                                        
    'servicePartnerWorkOrders' => 'servicePartnerWorkOrders',
                                        
    'servicePartnerWorkOrdersResponse' => 'servicePartnerWorkOrdersResponse',
                                        
    'ServicePartnerPickUpConfirmationSsResponse' => 'ServicePartnerPickUpConfirmationSsResponse',
                                        
    'DataPairsList' => 'DataPairsList',
                                        
    'GetWorkOrderActivitiesRequest' => 'GetWorkOrderActivitiesRequest',
                                        
    'CustomerSnapshotRequest' => 'CustomerSnapshotRequest',
                                        
    'ServicePartnerEquipmentRequest' => 'ServicePartnerEquipmentRequest',
                                        
    'CustomerWorkOrdersRequest' => 'CustomerWorkOrdersRequest',
                                        
    'CustomerWorkOrdersSsResponse' => 'CustomerWorkOrdersSsResponse',
                                        
    'GetCustomerCommentsSsResponse' => 'GetCustomerCommentsSsResponse',
                                        
    'CustComment' => 'CustComment',
                                        
    'ProcessWorkOrderRequest' => 'ProcessWorkOrderRequest',
                                        
    'GetCustomerCPESsResponse' => 'GetCustomerCPESsResponse',
                                        
    'ActiveCPE' => 'ActiveCPE',
                                        
    'HistoricCPE' => 'HistoricCPE',
                                        
    'ServicePartnerUpdateNotificationSsResponse' => 'ServicePartnerUpdateNotificationSsResponse',
                                        
    'ObjectHistoryRequest' => 'ObjectHistoryRequest',
                                        
    'CustomerSnapshotSsResponse' => 'CustomerSnapshotSsResponse',
                                        
    'CustomerServicesSsResponse' => 'CustomerServicesSsResponse',
                                        
    'ServicePartnerEquipmentSsResponse' => 'ServicePartnerEquipmentSsResponse',
                                        
    'CheckinSRORequest' => 'CheckinSRORequest',
                                        
    'CustomerServicesRequest' => 'CustomerServicesRequest',
                                        
    'ServicePartnerPickUpConfirmationRequest' => 'ServicePartnerPickUpConfirmationRequest',
                                        
    'ProcessWorkOrderSsResponse' => 'ProcessWorkOrderSsResponse',
                                        
    'GetCustomerCommentsRequest' => 'GetCustomerCommentsRequest',
                                        
    'ServicePartnerWorkOrdersSsResponse' => 'ServicePartnerWorkOrdersSsResponse',
                                        
    'ServicePartnerUpdateNotificationRequest' => 'ServicePartnerUpdateNotificationRequest',
                                        
    'ObjectHistorySsResponse' => 'ObjectHistorySsResponse',
                                        
    'ServicePartnerWorkOrdersRequest' => 'ServicePartnerWorkOrdersRequest',
                                        
    'ServicePartnerPickUpSsResponse' => 'ServicePartnerPickUpSsResponse',
                                        
    'GetWorkOrderDetailsRequest' => 'GetWorkOrderDetailsRequest',
                                        
    'AddUpdateWorkOrderCommentsRequest' => 'AddUpdateWorkOrderCommentsRequest',
                                        
    'ServicePartnerPickUpRequest' => 'ServicePartnerPickUpRequest',
                                        
    'GetCustomerCPERequest' => 'GetCustomerCPERequest',
                                        
    'GetWorkOrderActivitiesSsResponse' => 'GetWorkOrderActivitiesSsResponse',
                                        
    'WorkOrderActivity' => 'WorkOrderActivity',
                                        
    'GetWorkOrderCommentsSsResponse' => 'GetWorkOrderCommentsSsResponse',
                                        
    'GetWorkOrderCommentsRequest' => 'GetWorkOrderCommentsRequest',
                                        
    'Equipment' => 'Equipment',
                                       );

      public function 
    WapToolServicesService($wsdl "http://172.25.22.199:920/IWSP/service/soap?wsdl"$options = array()) {
        foreach(
    self::$classmap as $key => $value) {
          if(!isset(
    $options['classmap'][$key])) {
            
    $options['classmap'][$key] = $value;
          }
        }
        
    parent::__construct($wsdl$options);
      }

      
    /**
       *  
       *
       * @param provisionWorkOrder $parameters
       * @return provisionWorkOrderResponse
       */
      
    public function provisionWorkOrder(provisionWorkOrder $parameters) {
        return 
    $this->__soapCall('provisionWorkOrder', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param createBirthCertificate $parameters
       * @return createBirthCertificateResponse
       */
      
    public function createBirthCertificate(createBirthCertificate $parameters) {
        return 
    $this->__soapCall('createBirthCertificate', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param getBirthCertificate $parameters
       * @return getBirthCertificateResponse
       */
      
    public function getBirthCertificate(getBirthCertificate $parameters) {
        return 
    $this->__soapCall('getBirthCertificate', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param getWorkOrder $parameters
       * @return getWorkOrderResponse
       */
      
    public function getWorkOrder(getWorkOrder $parameters) {
        return 
    $this->__soapCall('getWorkOrder', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param checkinWorkOrder $parameters
       * @return checkinWorkOrderResponse
       */
      
    public function checkinWorkOrder(checkinWorkOrder $parameters) {
        return 
    $this->__soapCall('checkinWorkOrder', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param updateSTBBackChannelStatus $parameters
       * @return updateSTBBackChannelStatusResponse
       */
      
    public function updateSTBBackChannelStatus(updateSTBBackChannelStatus $parameters) {
        return 
    $this->__soapCall('updateSTBBackChannelStatus', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param getSnapshot $parameters
       * @return getSnapshotResponse
       */
      
    public function getSnapshot(getSnapshot $parameters) {
        return 
    $this->__soapCall('getSnapshot', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param closeTroubleTicket $parameters
       * @return closeTroubleTicketResponse
       */
      
    public function closeTroubleTicket(closeTroubleTicket $parameters) {
        return 
    $this->__soapCall('closeTroubleTicket', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param servicePartnerPickUp $parameters
       * @return servicePartnerPickUpResponse
       */
      
    public function servicePartnerPickUp(servicePartnerPickUp $parameters) {
        return 
    $this->__soapCall('servicePartnerPickUp', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param servicePartnerPickUpConfirmation $parameters
       * @return servicePartnerPickUpConfirmationResponse
       */
      
    public function servicePartnerPickUpConfirmation(servicePartnerPickUpConfirmation $parameters) {
        return 
    $this->__soapCall('servicePartnerPickUpConfirmation', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param servicePartnerUpdateNotification $parameters
       * @return servicePartnerUpdateNotificationResponse
       */
      
    public function servicePartnerUpdateNotification(servicePartnerUpdateNotification $parameters) {
        return 
    $this->__soapCall('servicePartnerUpdateNotification', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param servicePartnerWorkOrders $parameters
       * @return servicePartnerWorkOrdersResponse
       */
      
    public function servicePartnerWorkOrders(servicePartnerWorkOrders $parameters) {
        return 
    $this->__soapCall('servicePartnerWorkOrders', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param getWorkOrderComments $parameters
       * @return getWorkOrderCommentsResponse
       */
      
    public function getWorkOrderComments(getWorkOrderComments $parameters) {
        return 
    $this->__soapCall('getWorkOrderComments', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param getCustomerComments $parameters
       * @return getCustomerCommentsResponse
       */
      
    public function getCustomerComments(getCustomerComments $parameters) {
        return 
    $this->__soapCall('getCustomerComments', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param addUpdateWorkOrderComments $parameters
       * @return addUpdateWorkOrderCommentsResponse
       */
      
    public function addUpdateWorkOrderComments(addUpdateWorkOrderComments $parameters) {
        return 
    $this->__soapCall('addUpdateWorkOrderComments', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param processWorkOrder $parameters
       * @return processWorkOrderResponse
       */
      
    public function processWorkOrder(processWorkOrder $parameters) {
        return 
    $this->__soapCall('processWorkOrder', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param customerWorkOrders $parameters
       * @return customerWorkOrdersResponse
       */
      
    public function customerWorkOrders(customerWorkOrders $parameters) {
        return 
    $this->__soapCall('customerWorkOrders', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param customerServices $parameters
       * @return customerServicesResponse
       */
      
    public function customerServices(customerServices $parameters) {
        return 
    $this->__soapCall('customerServices', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param customerCPE $parameters
       * @return customerCPEResponse
       */
      
    public function customerCPE(customerCPE $parameters) {
        return 
    $this->__soapCall('customerCPE', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param customerSnapshot $parameters
       * @return customerSnapshotResponse
       */
      
    public function customerSnapshot(customerSnapshot $parameters) {
        return 
    $this->__soapCall('customerSnapshot', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param getWorkOrderDetails $parameters
       * @return getWorkOrderDetailsResponse
       */
      
    public function getWorkOrderDetails(getWorkOrderDetails $parameters) {
        return 
    $this->__soapCall('getWorkOrderDetails', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param getWorkOrderActivities $parameters
       * @return getWorkOrderActivitiesResponse
       */
      
    public function getWorkOrderActivities(getWorkOrderActivities $parameters) {
        return 
    $this->__soapCall('getWorkOrderActivities', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param checkinSRO $parameters
       * @return checkinSROResponse
       */
      
    public function checkinSRO(checkinSRO $parameters) {
        return 
    $this->__soapCall('checkinSRO', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param servicePartnerEquipment $parameters
       * @return servicePartnerEquipmentResponse
       */
      
    public function servicePartnerEquipment(servicePartnerEquipment $parameters) {
        return 
    $this->__soapCall('servicePartnerEquipment', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

      
    /**
       *  
       *
       * @param objectHistory $parameters
       * @return objectHistoryResponse
       */
      
    public function objectHistory(objectHistory $parameters) {
        return 
    $this->__soapCall('objectHistory', array($parameters),       array(
                
    'uri' => 'http://endpoint.services.waptool.coraltree.com/',
                
    'soapaction' => ''
               
    )
          );
      }

    }
    ?>
    Vielen vielen Dank im Voraus

    lg
    Oli

  • #2
    Hallo x.Oliver,

    wir freuen uns, dass du an der öffentlichen Diskussion hier auf PHP.de teilnimmst. Als Community stehen wir dir gerne helfend zur Seite.
    Jedoch versteht sich PHP.de als Forum für Hilfe zur Selbsthilfe, weshalb wir gewisse Mindestansprüche an die Qualität von Benutzerbeiträgen stellen.
    Diese schließen ein:
    • eine verständliche Fragestellung
    • das Bemühen um eine korrekte Rechtschreibung und Grammatik
    • eine sinnvolle Beitragsformatierung (z.B. Code-Schnipsel in [PHP]-, [HTML]- oder [CODE]-Tags)
    • halbwegs solides Grundlagenwissen in den entsprechenden Bereichen
    • ausführliche, aber nicht ausschweifende Problembeschreibungen
    • relevante Code-Auszüge wo notwendig
    • und ganz wichtig: Eigeninitiative und Aufgeschlossenheit seitens das Fragestellers (das bist du)
    Leider entspricht dein Beitrag nicht ganz diesen Kriterien, weshalb er auf die Grüne Wiese verschoben wurde.

    Dies ist keine Beitragsschließung!

    Du kannst deinen Thread auf der Grünen Wiese gerne weiterführen. Wenn dein Beitrag hier gelandet ist, so ist dies auch kein Beinbruch. Du darfst nur nicht allzu große Hilfe von den erfahrenen Benutzern dieses Forums erwarten und solltest dir einmal Zeit nehmen, unsere Forenrichtlinien genau zu lesen. Auch unsere mühsam erstellte Sammlung von Einsteiger-Ressourcen ist einen gründlichen Blick wert. In aller Regel lässt sich dein Problem nämlich bereits mit dem dort vermittelten Wissen lösen. Eine ausführliche Google-Suche nach deinem Problem schadet selbstverständlich auch nie.

    Und schlussendlich: wenn du dir all dies zu Herzen genommen und verstanden hast, warum dein Beitrag auf der Wiese gelandet ist, klappt es vielleicht beim nächsten Mal.

    Mit besten Grüßen
    Manko10, Forenmoderation
    Refining Linux: “[url=http://www.refining-linux.org/archives/65/Performing-push-backups-Part-1-rdiff-backup/]Performing Push Backups – Part 1: rdiff-backup[/url]”

    Kommentar


    • #3
      Using $this when not in object context
      Bitte mal eigenständig übersetzen
      [COLOR="#F5F5FF"]--[/COLOR]
      [COLOR="Gray"][SIZE="6"][FONT="Georgia"][B]^^ O.O[/B][/FONT] [/SIZE]
      „Emoticons machen einen Beitrag etwas freundlicher. Deine wirken zwar fachlich richtig sein, aber meist ziemlich uninteressant.
      [URL="http://www.php.de/javascript-ajax-und-mehr/107400-draggable-sorttable-setattribute.html#post788799"][B]Wenn man nur Text sieht, haben viele junge Entwickler keine interesse, diese stumpfen Texte zu lesen.“[/B][/URL][/COLOR]
      [COLOR="#F5F5FF"]
      --[/COLOR]

      Kommentar


      • #4
        Hmm .. ich nutze "$this" ausserhalb des Objektes ?

        Kommentar


        • #5
          Ja, und weiter?
          Sorry, aber dein Code ergibt überhaupt keinen Sinn (weder deine ewig lange Datei semi-abstrakter Klassen noch die Verwendung von $this im Beispiel darüber). Bitte beschäftige dich mit den Grundlagen von PHP und OOP.
          Refining Linux: “[url=http://www.refining-linux.org/archives/65/Performing-push-backups-Part-1-rdiff-backup/]Performing Push Backups – Part 1: rdiff-backup[/url]”

          Kommentar


          • #6
            Wenn mein Code Sinn ergeben würde oder ich verstehen würde wo das Problem liegt, wäre ich doch nicht hier.
            Die Klassendatei "WapToolServicesService.php" ist aus einer WSDL heraus automatisch generieren lassen.

            Könnte mir bitte jemand verständlich erklären was es bedeutet wenn ich "$this" ausserhalb eines Objektes nutze und was ich "konkret" falsch mache .. bitte

            Kommentar


            • #7
              http://lmgtfy.com/?q=php+klassen
              Refining Linux: “[url=http://www.refining-linux.org/archives/65/Performing-push-backups-Part-1-rdiff-backup/]Performing Push Backups – Part 1: rdiff-backup[/url]”

              Kommentar

              Lädt...
              X