• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Web Service message level Encryption Decryption through public and private key

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please help in this: i have attacched wsdl below
Question1:unable to create Stub through given wsdl.. can anybody help wht exactly is the problem
?

Question2:how to perform write client for given wsdl
i have both public key and private key
can anybody help in this
?




<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions
xmlns:tns="http://www.healthplan.com/web-services"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:http="http://www.w3.org/2003/05/soap/bindings/HTTP/"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
>
<wsp:Policy>
<wsp:ExactlyOne>
<wsp:All>
<sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
<wsp:Policy>
<sp:InitiatorToken>
<wsp:Policy>
<sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
<wsp:Policy>
<sp:WssX509V3Token10/>
</wsp:Policy>
</sp:X509Token>
</wsp:Policy>
</sp:InitiatorToken>
<sp:RecipientToken>
<wsp:Policy>
<sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
<wsp:Policy>
<sp:WssX509V3Token10/>
</wsp:Policy>
</sp:X509Token>
</wsp:Policy>
</sp:RecipientToken>
<sp:AlgorithmSuite>
<wsp:Policy>
<sp:Basic256Rsa15/>
</wsp:Policy>
</sp:AlgorithmSuite>
<sp:Layout>
<wsp:Policy>
<sp:Strict/>
</wsp:Policy>
</sp:Layout>
<sp:OnlySignEntireHeadersAndBody/>
<sp:EncryptSignature/>
</wsp:Policy>
</sp:AsymmetricBinding>
<sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
<wsp:Policy>
<sp:MustSupportRefKeyIdentifier/>
<sp:MustSupportRefEmbeddedToken/>
<sp:MustSupportRefIssuerSerial/>
</wsp:Policy>
</sp:Wss10>
<sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
<sp:Body/>
<sp:Header Namespace="http://www.w3.org/2005/08/addressing"/>
</sp:SignedParts>
<sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
<sp:Body/>
</sp:EncryptedParts>
</wsp:All>
</wsp:ExactlyOne>
</wsp:Policy>
<wsdl:types>
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://www.healthplan.com/wso2/web-services"
xmlns:hps="http://www.healthplan.com/web-services"
targetNamespace="http://www.healthplan.com/wso2/web-services"
>
<xsd:import
xmlns="http://www.healthplan.com/web-services"
schemaLocation="MLSschema.xsd"
/>
<!-- AUTHENTICATION REQUEST -->
<xsd:annotation>
<xsd:documentation><![CDATA[
Returns strictly the status updates since the last poll. If there were any paper
applications submitted, they will not be returned via this method.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType name="AuthenticationRequest" id="AuthenticationRequest">
<xsd:sequence>
<xsd:element name="api_username" type="xsd:string" />
<xsd:element name="api_password" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>

<!-- STATUS REQUEST -->
<xsd:complexType name="StatusRequest" id="StatusRequest">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="1" name="AuthenticationRequest" type="tns:AuthenticationRequest" />
</xsd:sequence>
</xsd:complexType>

<!-- METADATA -->
<xsd:annotation>
<xsd:documentation><![CDATA[
This is a metadata slot for information that would not normally be in an application or
applicant's information schema. The timestamp is the time when this request was made.
The checksum is the MD5 checksum of this response being sent.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType name="meta" id="meta">
<xsd:attribute name="timestamp" type="xsd:integer" />
</xsd:complexType>

<!-- APPLICANT DATA -->
<xsd:annotation>
<xsd:documentation><![CDATA[
The data type for an applicant. An applicant will simply be a collection of data that was
not received by the COA since it was originally on paper. All data for this element is required.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType name="Applicant">
<xsd:sequence>
<xsd:element name="Agent" nillable="true" type="xsd:integer" />
<xsd:element name="ApplicantNumber" nillable="true" type="xsd:integer" />
<xsd:element name="ApplicationID" nillable="true" type="xsd:integer" />
<xsd:element name="ApplicationType" nillable="true" type="xsd:string" />
<xsd:element name="FirstName" nillable="true" type="xsd:string" />
<xsd:element name="LastName" nillable="true" type="xsd:string" />
<xsd:element name="Market" nillable="true" type="xsd:string" />
<xsd:element name="StatusCode" nillable="true" type="xsd:string" />
<xsd:element name="StatusCodeUpdatedOnDateTime" nillable="true" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Applicants" id="Applicants">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="Applicant" type="tns:Applicant" />
</xsd:sequence>
</xsd:complexType>

<!-- APPLICATION DATA -->
<xsd:annotation>
<xsd:documentation><![CDATA[
The data type for an application. An application may be on paper, which is why the first
set of elements have `minOccurs=0'. The first elements are the data required by the COA
from paper applications. The other data is required in each status update. This contains
a child element of an applicant and this can have (in theory) an unlimited number of applicants.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType name="Application" id="Application">
<xsd:sequence>
<!-- Optional paper application information -->
<xsd:element minOccurs="0" name="Agent" nillable="true" type="xsd:string" />
<xsd:element minOccurs="0" name="ApplicantNumber" nillable="true" type="xsd:integer" />
<xsd:element minOccurs="0" name="ApplicationID" nillable="true" type="xsd:integer" />
<xsd:element minOccurs="0" name="ApplicationRecordNumber" nillable="true" type="xsd:integer" />
<xsd:element minOccurs="0" name="ApplicationType" nillable="true" type="xsd:string" />
<xsd:element minOccurs="0" name="DateAppReceived" nillable="true" type="xsd:string" />
<xsd:element minOccurs="0" name="EffectiveDate" nillable="true" type="xsd:string" />
<xsd:element minOccurs="0" name="Market" nillable="true" type="xsd:string" />
<xsd:element minOccurs="0" name="MedicalPlan" nillable="true" type="xsd:string" />
<xsd:element minOccurs="0" name="State" nillable="true" type="xsd:string" />
<xsd:element minOccurs="0" name="PrimaryApplicantEmailAddress" nillable="true" type="xsd:string" />
<xsd:element minOccurs="0" name="PrimaryApplicantFirstName" nillable="true" type="xsd:string" />
<xsd:element minOccurs="0" name="PrimaryApplicantLastName" nillable="true" type="xsd:string" />
<xsd:element minOccurs="0" name="PrimaryApplicantPhoneNumber" nillable="true" type="xsd:string" />
<xsd:element minOccurs="0" name="StatusCode" nillable="true" type="xsd:string" />
<xsd:element minOccurs="0" name="StatusCodeUpdatedOnDateTime" nillable="true" type="xsd:string" />

<!-- Mandatory minimal data -->
<!-- <xsd:element name="EffectiveDate" type="xsd:date" /> -->
<xsd:element name="Status" type="xsd:string" />
<xsd:element name="Message" type="xsd:string" />
<xsd:element minOccurs="0" maxOccurs="unbounded" name="Applicants" type="tns:Applicants" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Applications" id="Applications">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="Application" type="tns:Application" />
</xsd:sequence>
</xsd:complexType>

<!-- STATUS RESPONSE -->
<xsd:annotation>
<xsd:documentation><![CDATA[
The root element that represents a status request.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType name="StatusResponse" id="StatusResponse">
<xsd:sequence>
<xsd:element minOccurs="0" name="timestamp" type="xsd:integer" />
<xsd:element minOccurs="0" maxOccurs="1" name="Applications" type="tns:Applications" />
</xsd:sequence>
</xsd:complexType>

<!-- ACKNOWLEDGEMENT REQUEST -->
<xsd:annotation>
<xsd:documentation><![CDATA[
An acknowledgement request. Once the status has been received, a second request must be
made to confirm the results received to ensure nothing was lost along the wire. This will
send back the same timestamp received as a lookup utility to verify the very last request
for data.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType name="AckRequest" id="AckRequest">
<xsd:sequence>
<xsd:element name="AuthenticationRequest" type="tns:AuthenticationRequest" />
<xsd:element name="timestamp" type="xsd:integer" />
<xsd:element name="checksum" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>

<!-- ACKNOWLEDGEMENT RESPONSE -->
<xsd:annotation>
<xsd:documentation><![CDATA[
The status acknowledgement that is the response after sending an acknowledgement request.
The results of this is either a pass or a fail. Depending on the results of this response,
depends on the actions that take place afterword.
]]></xsd:documentation>
</xsd:annotation>
<xsd:simpleType name="StatusAckResponse" id="StatusAckResponse">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="PASS" />
<xsd:enumeration value="FAIL" />
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="AckResponse" id="AckResponse">
<xsd:sequence>
<xsd:element name="Status" type="tns:StatusAckResponse" />
</xsd:sequence>
</xsd:complexType>

<!-- APPLICATION REQUESTS -->
<xsd:complexType name="ApplicationRequest" id="ApplicationRequest">
<xsd:sequence>
<xsd:element name="AuthenticationRequest" type="tns:AuthenticationRequest" />
<xsd:element ref="Enrollment" />
</xsd:sequence>
</xsd:complexType>

<!-- APPLICATION RESPONSE -->
<xsd:complexType name="ApplicationResponse" id="ApplicationResponse">
<xsd:sequence>
<xsd:element name="code" type="xsd:string" />
<xsd:element name="message" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>

<!-- ELEMENTS OF THIS XSD -->
<xsd:complexType name="SoapCfba">
<xsd:sequence>
<xsd:element minOccurs="0" name="StatusRequest" type="tns:StatusRequest" />
<xsd:element minOccurs="0" name="StatusResponse" type="tns:StatusResponse" />
<xsd:element minOccurs="0" name="AckRequest" type="tns:AckRequest" />
<xsd:element minOccurs="0" name="AckResponse" type="tns:AckResponse" />
<xsd:element minOccurs="0" name="ApplicationRequest" type="tns:ApplicationRequest" />
<xsd:element minOccurs="0" name="ApplicationResponse" type="tns:ApplicationResponse" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="SoapCfba" id="SoapCfba" type="tns:SoapCfba" />
</xsd:schema>

</wsdl:types>
<wsdl:message name="submitApplicationIn">
<wsdl:part name="ApplicationRequest" type="ApplicationRequest" />
</wsdl:message>
<wsdl:message name="submitApplicationOut">
<wsdl:part name="return" type="ApplicationResponse" />
</wsdl:message>
<wsdl:message name="getStatusIn">
<wsdl:part name="StatusRequest" type="StatusRequest" />
</wsdl:message>
<wsdl:message name="getStatusOut">
<wsdl:part name="return" type="StatusResponse" />
</wsdl:message>
<wsdl:message name="getAckIn">
<wsdl:part name="AckRequest" type="AckRequest" />
</wsdl:message>
<wsdl:message name="getAckOut">
<wsdl:part name="return" type="AckResponse" />
</wsdl:message>
<wsdl:portType name="SoapCfbaIface_Port">
<wsdl:operation name="submitApplication">
<wsdl:input message="submitApplicationIn" />
<wsdl:output message="submitApplicationOut" />
</wsdl:operation>
<wsdl:operation name="getStatus">
<wsdl:input message="getStatusIn" />
<wsdl:output message="getStatusOut" />
</wsdl:operation>
<wsdl:operation name="getAck">
<wsdl:input message="getAckIn" />
<wsdl:output message="getAckOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="SoapCfbaIface_Binding" type="SoapCfbaIface_Port">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="submitApplication">
<soap:operation soapAction="#submitApplication" />
<wsdl:input>
<soap:body
use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.healthplan.com/web-services"
/>
</wsdl:input>
<wsdl:output>
<soap:body
use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.healthplan.com/web-services"
/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getStatus">
<soap:operation soapAction="#getStatus" />
<wsdl:input>
<soap:body
use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.healthplan.com/web-services"
/>
</wsdl:input>
<wsdl:output>
<soap:body
use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.healthplan.com/web-services"
/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getAck">
<soap:operation soapAction="#getAck" />
<wsdl:input>
<soap:body
use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.healthplan.com/web-services"
/>
</wsdl:input>
<wsdl:output>
<soap:body
use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.healthplan.com/web-services"
/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="SoapCfbaCTL">
<wsdl:port name="SoapCfbaIface_Http" binding="SoapCfbaIface_Binding">
<soap:address location="http://coventry-sit.healthplan.com/SoapCfbaCTL" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

 
He's my best friend. Not yours. Mine. You can have this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic