title: Creating custom binding for generating wsdl client proxy using wsimport
body: <p>I have a requirement to generate client proxy java files in Eclipse IDE.</p>
  
  <p>I tried to generate this via wsimport command. Below is the command I used.</p>
  
  <p><strong>wsimport -keep -b bindings.xml -p com.aasc.carrier.shipexec.proxy -implServiceName wcfSoxContract -implPortName wcfShip <a href="http://shipexec.com/demo/wcf/soap?wsdl" rel="nofollow">http://shipexec.com/demo/wcf/soap?wsdl</a> -B-XautoNameResolution</strong></p>
  
  <p>After executing this I am getting below issue.</p>
  
  <p><strong>[ERROR] Invalid operation "InstantiateWCF", can't generate java method parameter. Local name of the wrapper child "package" in the global element "{......}InstantiateWCF" is a java keyword. Use customization to change the parametername.
    line 1 of <a href="http://shipexec.com/demo/wcf/soap?wsdl=wsdl0" rel="nofollow">http://shipexec.com/demo/wcf/soap?wsdl=wsdl0</a></strong></p>
  
  <p>I tried to resolve this issue using the custom binding xml file as below. </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;jaxws:bindings xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                  xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
                  wsdlLocation="http://shipexec.com/demo/wcf/soap?wsdl"&gt;
    &lt;enableWrapperStyle&gt;false&lt;/enableWrapperStyle&gt;
    &lt;jaxws:bindings node="wsdl:definitions/wsdl:import/wsdl:portType[@name='IwcfShip']/wsdl:operation[@name='InstantiateWCF']"&gt;
      &lt;jaxws:parameter part="wsdl:definitions/wsdl:message[@name='IwcfShip_InstantiateWCF_InputMessage']/wsdl:part[@name='parameters']" childElementName="package" name="paramPackage" /&gt;
    &lt;/jaxws:bindings&gt;
  &lt;/jaxws:bindings&gt;
  </code></pre>
  
  <p>But the node I am trying to get is not recognizing.</p>
  
  <p>Can anyone please help on finding the exact node path for changing the name of the parameter for 'InstantiateWCF' operation.</p>
  
  <p>Thanks,
  Y Pradeep</p>