$attSet2 = new AttributeSetType();
            $attSet2->setTypeAttribute('attributeSetID', 2136);
            $att2 = new AttributeType();
            $att2->setTypeAttribute('attributeID', 3803);
            $attValue2 = new ValType();
            $attValue2->setValueID(32040);
            $att2->setValue($attValue2, 0);
            $att3 = new AttributeType();
            $att3->setTypeAttribute('attributeID', 3806);
            $attValue3 = new ValType();
            $attValue3->setValueID(-3);
            $attValue3->setValueLiteral('siehe Artikelbeschreibung');
            $att3->setValue($attValue3, 0);
            $attSet2->setAttribute($att3, 1);
            $atts->setAttributeSet($attSet2, 1);
            $item->setAttributeSetArray($atts);
            $reqItem->setItem($item);
            $resItem = $this->proxy->AddItem($reqItem);
            if ($this->testValid($resItem)) {
                $this->dumpObject($resItem);
                return true;
            } else {
                return false;
            }
        } else {
            return false;
        }
    }
}
$x = new sample_AddItem();
$x->dispatchCall(array());
        $item->setPaymentMethods($params['PaymentMethods']);
        $item->setListingType($params['ListingType']);
        $item->setDescription($params['Description']);
        $item->setSubTitle($params['SubTitle']);
        $item->setHitCounter($params['HitCounter']);
        $item->setListingEnhancement($params['ListingEnhancement']);
        $listingDesigner = new ListingDesignerType();
        $listingDesigner->setLayoutID($params['LayoutID']);
        $listingDesigner->setThemeID($params['ThemeID']);
        $item->setListingDesigner($listingDesigner);
        $primaryCategory = new CategoryType();
        $primaryCategory->setCategoryID($params['CategoryID']);
        $item->setPrimaryCategory($primaryCategory);
        $secondaryCategory = new CategoryType();
        $secondaryCategory->setCategoryID($params['secondaryCategoryID']);
        $item->setSecondaryCategory($secondaryCategory);
        $picture = new PictureDetailsType();
        $picture->setPictureURL($params['PictureURL']);
        $item->setPictureDetails($picture);
        $req->setItem($item);
        $res = $this->proxy->AddItem($req);
        if ($this->testValid($res)) {
            $this->dumpObject($res);
            return true;
        } else {
            return false;
        }
    }
}
$x = new sample_AddItem();
$x->dispatchCall(array('Title' => 'iPod', 'Quantity' => '1', 'Currency' => 'EUR', 'Country' => 'DE', 'StartPrice' => '5.00', 'ListingDuration' => 'Days_7', 'Location' => 'Cologne', 'PaymentMethods' => 'CashOnPickup', 'ListingType' => 'Chinese', 'Description' => 'Enter Description Here', 'SubTitle' => 'Enter SubTitle Here', 'HitCounter' => 'BasicStyle', 'ListingEnhancement' => 'Highlight', 'LayoutID' => '7710001', 'ThemeID' => '7730714', 'CategoryID' => '8267', 'secondaryCategoryID' => '10610', 'PictureURL' => 'http://fc03.deviantart.com/fs5/i/2004/315/3/5/ipod_by_ilikequavers.jpg'));
        $item->setTitle($params['Title']);
        $item->setQuantity($params['Quantity']);
        $item->setCurrency($params['Currency']);
        $item->setCountry($params['Country']);
        $item->setStartPrice($params['StartPrice']);
        $item->setListingDuration($params['ListingDuration']);
        $item->setLocation($params['Location']);
        $item->setPaymentMethods($params['PaymentMethods']);
        $item->setListingType($params['ListingType']);
        $item->setDescription($params['Description']);
        $item->ShippingService = 'UPS Ground';
        $item->setShippingDetails($b);
        //print '<pre>'.print_r(get_class_methods($a),true).'</pre><br>';
        //$this->dumpObject($a);
        //$this->dumpObject($item);
        $primaryCategory = new CategoryType();
        $primaryCategory->setCategoryID($params['CategoryID']);
        $item->setPrimaryCategory($primaryCategory);
        $req->setItem($item);
        $res = $this->proxy->AddItem($req);
        $this->dumpObject($res);
        if ($this->testValid($res)) {
            $this->dumpObject($res);
            return true;
        } else {
            return false;
        }
    }
}
$x = new sample_AddItem();
$x->dispatchCall(array('Title' => 'Prima iPod', 'Quantity' => '1', 'Currency' => 'USD', 'Country' => 'US', 'StartPrice' => '5.00', 'ListingDuration' => 'Days_7', 'Location' => 'Louisville', 'PaymentMethods' => 'VisaMC', 'ListingType' => 'Chinese', 'Description' => 'Enter Description Here', 'CategoryID' => '164', 'ShippingService' => 'UPS Ground'));