Package org.xmlsoap.schemas.ws._2004._08.addressing

Examples of org.xmlsoap.schemas.ws._2004._08.addressing.AttributedURI


      // Create an endpoint reference for the NotificationConsumer
      // Note that since we are using PortListener to handle notifications,
      // rather than a Web Service that implements NotificationConsumer this
      // EPR is somewhat bogus.
      EndpointReferenceType epr = new EndpointReferenceType(  );
      epr.setAddress( new AttributedURI( callback_url ) );
      epr.setPortType( new AttributedQName( "nothing" ) );
      ServiceNameType snt = new ServiceNameType(  );
      snt.setPortName( new NCName( "NotificationConsumer" ) );
      snt.set_value( new QName( "TestNotifConsumer" ) );
      epr.setServiceName( snt );
View Full Code Here


   throws MalformedURIException,
          Exception
   {
      axis.org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType axisEprType =
         new axis.org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType(  );
      axisEprType.setAddress( new AttributedURI( xmlBeansEprType.getAddress(  ).getStringValue(  ) ) );
      axisEprType.setPortType( new AttributedQName( xmlBeansEprType.getPortType(  ).getQNameValue(  ) ) );
      axis.org.xmlsoap.schemas.ws._2003._03.addressing.ServiceNameType snt =
         new axis.org.xmlsoap.schemas.ws._2003._03.addressing.ServiceNameType( xmlBeansEprType.getServiceName(  )
                                                                                              .getQNameValue(  ) );
      axisEprType.setServiceName( snt );
View Full Code Here

      EndpointReferenceType                                    axis_endpoint = new EndpointReferenceType(  );
      org.apache.axis.message.addressing.EndpointReferenceType base_endpoint = base_fault.getOriginator(  );

      if ( base_endpoint != null )
      {
         axis_endpoint.setAddress( new AttributedURI( base_endpoint.getAddress(  ).toString(  ) ) );
         axis_endpoint.setPortType( new AttributedQName( base_endpoint.getPortType(  ) ) );
         ReferencePropertiesType                                    axis_ref_props =
            new ReferencePropertiesType(  );
         org.apache.axis.message.addressing.ReferencePropertiesType base_ref_props =
            base_endpoint.getProperties(  );
View Full Code Here

      boolean               isNotify    = true;
      Calendar              termination = Calendar.getInstance(  );

      EndpointReferenceType axis_endpoint = new EndpointReferenceType(  );
      String                end_address   = "http://foo";
      axis_endpoint.setAddress( new AttributedURI( end_address ) );
      QName portType = new QName( end_address, "myporttype" );
      axis_endpoint.setPortType( new AttributedQName( portType ) );
      String service_name = "myfoo";
      axis_endpoint.setServiceName( new ServiceNameType( service_name ) );
      ReferencePropertiesType ref_prop = new ReferencePropertiesType(  );
View Full Code Here

      Subscribe request = new Subscribe(  );

      //create the EPR of the consumer - this EPR object is a specific type for use with the client-side stub
      axis.org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType consumerEprForStub =
         new axis.org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType(  );
      consumerEprForStub.setAddress( new AttributedURI( m_notificationConsumer.getAddress(  ) ) );
      consumerEprForStub.setPortType( new AttributedQName( m_notificationConsumer.getPortType(  ) ) );
      ServiceNameType snt = new ServiceNameType(  );
      snt.setPortName( new NCName( m_notificationConsumer.getServiceName(  ).getPort(  ) ) );
      snt.set_value( m_notificationConsumer.getServiceName(  ) );
      consumerEprForStub.setServiceName( snt );
View Full Code Here

    }
   
   
    public ManipulatingParameter[] getSystemParameterInfos(String manpId)
    {
        ManipulationParameterInfoRequest request = new ManipulationParameterInfoRequest();
        request.setUser(user);
        request.setManipulationId((manpId));
        request.setMode(SEARCH_MODE);
       

        ManipulationParameterInfoResponse response = new ManipulationParameterInfoResponse();
        try {
//            response = (ManipulationTimestepInfoResponse) svc.executeRequest(req);
View Full Code Here

        request.setUser(user);
        request.setManipulationId((manpId));
        request.setMode(SEARCH_MODE);
       

        ManipulationParameterInfoResponse response = new ManipulationParameterInfoResponse();
        try {
//            response = (ManipulationTimestepInfoResponse) svc.executeRequest(req);
            response = (ManipulationParameterInfoResponse) svc.executeRequest(request);
            //TODO: Write web service call to database
        } catch (RemoteException e) {
            e.printStackTrace();
        }
        String errMsg = response.getMessage();
        if (errMsg != null) {
            System.err.println("Error:" + errMsg);
            return null;
        }
        return response.getManipulationInfos();       
    }
View Full Code Here

    public void getBiomass(String manipulationId, int nodeIndex, int timestep) throws SimulationException {
        long milliseconds = System.currentTimeMillis();
       
        if(timestep >= 0)
        {
            ManipulationTimestepInfoRequest req = new ManipulationTimestepInfoRequest();
            req.setManipulationId(manipulationId);
            req.setIsNodeTimestep(true);
            req.setNodeIdx(nodeIndex);
            req.setTimestep(timestep);

            ManipulationTimestepInfoResponse response = null;
            try {
                response = (ManipulationTimestepInfoResponse) svc.executeRequest(req);
            } catch (RemoteException e) {
View Full Code Here

        int curPage = 1;
        int curTimestep = -1;

        try {
            while (!finished) {
                ManipulationTimestepInfoRequest req = new ManipulationTimestepInfoRequest();
                req.setManipulationId(MANIPULATION_ID);
                req.setIsNodeTimestep(true); // getting node time step
                req.setNodeIdx(0); // set node index to 3
                req.setTimestep(0); // set time step to 5
//                req.setPage(curPage);

                ManipulationTimestepInfoResponse response = (ManipulationTimestepInfoResponse) svc.executeRequest(req);
                ManipulationTimestepInfo[] infos = response.getManipulationTimestepInfos();
View Full Code Here

        HashMap<String, List<Double>> biomassData = new HashMap<String, List<Double>>();
        int currentDay = 0;

        try {
            while (!finished) {
                ManipulationTimestepInfoRequest req = new ManipulationTimestepInfoRequest();
                req.setManipulationId(manipulation_id);
                req.setIsNodeTimestep(true); // getting node time step
                req.setNodeIdx(0); // set node index to 3
                req.setTimestep(0); // set time step to 5
                req.setPage(curPage);
               
                ManipulationTimestepInfoResponse response = (ManipulationTimestepInfoResponse) svc.executeRequest(req);
                ManipulationTimestepInfo[] infos = response.getManipulationTimestepInfos();
               
                curPage = response.getCurPage();
View Full Code Here

TOP

Related Classes of org.xmlsoap.schemas.ws._2004._08.addressing.AttributedURI

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.