Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

deleteZoneFromZoneset over SOAP in MDS 5.2.1- receieve a NullPointer exception

Hi guys

we are implementing an internal automatic system to manage our fabric environment.

We are using SOAP to activate the methods but we have an issue in one of the methods:

Here is the basic schem we are using:

<soap:Envelope soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m="http://ep.cisco.dcbu.cisco.com" xmlns:ep="http://ep.san.jaxws.dcbu.cisco.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Header>

<m:token xmlns:m="http://ep.cisco.dcbu.cisco.com" xsi:type="xsd:string">TOKEN</m:token>

</soap:Header>

<soap:Body>

    <ep:deleteZoneFromZoneset>

    <vsanKey >

        <vsanID >ID</vsanID>

        <pWwn >

            <value >WWN_ADDR</value>

        </pWwn>

    </vsanKey>

    <switchKey >

        <wwn >

            <value >WWN_ADDR</value>

        </wwn>

    </switchKey>

    <zoneset >

        <index xsi:type="xsd:int">INDEX</index>

        <name xsi:type="xsd:string">NAME</name>

    </zoneset>

    <zone >

        <index xsi:type="xsd:int">INDEX</index>

        <name xsi:type="xsd:string">NAME</name>

    </zone>

</ep:deleteZoneFromZoneset>

</soap:Body>

</soap:Envelope>

we also tried adding more arguments for zone and zoneset BUT...every time we run the request we are getting:

<faultcode>env:Server</faultcode>

<faultstring>java.lang.NullPointerException</faultstring>

HTTP/1.1 500 Internal Server Error

could it be a bug in this function?

other functions (including addZonToZonset) are working just fine

118
Views
0
Helpful
0
Replies