Beispiel #1
0
  private XNode getXNode(javax.wsdl.Message msg) {
    XDef xdef = new XDef();
    xdef.setTargetNamespace(msg.getQName().getNamespaceURI());

    XMessage mNode = new XMessage();
    mNode.setName(msg.getQName().getLocalPart());
    mNode.setParentNode(xdef);
    return mNode;
  }
Beispiel #2
0
  private XNode getXNode(Binding binding) {
    XDef xdef = new XDef();
    xdef.setTargetNamespace(binding.getQName().getNamespaceURI());

    XBinding bNode = new XBinding();
    bNode.setName(binding.getQName().getLocalPart());
    bNode.setParentNode(xdef);
    return bNode;
  }
Beispiel #3
0
  private XNode getXNode(PortType portType) {
    XDef xdef = new XDef();
    xdef.setTargetNamespace(portType.getQName().getNamespaceURI());

    XPortType pNode = new XPortType();
    pNode.setName(portType.getQName().getLocalPart());
    pNode.setParentNode(xdef);
    return pNode;
  }
Beispiel #4
0
  private XNode getXNode(Service service) {
    XDef xdef = new XDef();
    xdef.setTargetNamespace(service.getQName().getNamespaceURI());

    XService sNode = new XService();
    sNode.setName(service.getQName().getLocalPart());
    sNode.setParentNode(xdef);
    return sNode;
  }