UpdateLineReq in Java

Version 1
    This document was generated from CDN thread

    Created by: john katsavras on 15-07-2013 07:33:37 AM
    Hi there,

    I am trying to set the search parameters for updating a line. mainly the partition name:
    Below is my code which compiles and brings out error at line: "JAXBElement<XFkType> ptClass = new JAXBElement<XFkType>(null, null, ptName);":
     1UpdateLineReq axlParams = new UpdateLineReq();
     2axlParams.setPattern("12345");
     3XFkType ptName = new XFkType();
     4ptName.setValue("ALL_PHONE_PT");       
     5JAXBElement<XFkType> ptClass = new JAXBElement<XFkType>(null, null, ptName);
     6axlParams.setRoutePartitionName(ptClass);
     7axlParams.setNewPattern("98765");       
     8StandardResponse getPhoneResponse = axlPort.updateLine(axlParams);
     9....

    below is what i would have expected teh code to look like:
    1UpdateLineReq axlParams = new UpdateLineReq();
    2axlParams.setPattern("12345");
    3XFkType ptName = new XFkType();
    4ptName.setValue("ALL_PHONE_PT");       
    5axlParams.setRoutePartitionName(ptName);
    6The line above give me the follwoing error: The method setRoutePartitionName(JAXBElement<XFkType>) in the type UpdateLineReq is not applicable for the arguments (XFkType)
    7axlParams.setNewPattern("98765");        
    8StandardResponse getPhoneResponse = axlPort.updateLine(axlParams);
    Any ideas on how to fix this?

    Thanks
    Alexis