cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP receiver error

former_member190996
Participant
0 Kudos

Hi,

I have configured the SOAP receiver with the target URL as the soap address location from the wsdl. And it looks like below:

when i test from soap ui, I get the response and also stops at the break-point on the service side.

But, while testing it from the rwb, it doesn't stop at the break-point and gives the below error:

And, this is how my test message from the rwb looks like:

Can you please let me know, what am I missing here.

Thanks,

Sai

Accepted Solutions (1)

Accepted Solutions (1)

former_member182412
Active Contributor
0 Kudos

Hi Sai,

Uncheck the Do Not Use Soap Envelope in the channel if you are not adding the soap envelope tags in the message mapping level.

Regards,

Praveen.

former_member190996
Participant
0 Kudos

Hi Praveen,

I have unchecked the option and now I get the below error:

also, do you know why it's not stopping at the break point on the service side while testing from rwb unlike in soap ui?

Regards,

Sai

former_member186851
Active Contributor
0 Kudos

Balaji,

Did you check the points mentioned.

And check if any soap action needs to be added.

former_member190996
Participant
0 Kudos

No soap action in the wsdl, its empty. So I left it empty at the communication channel as well.

former_member186851
Active Contributor
0 Kudos

Hello Balaji,

Is the WSDL with single operation then?

When your test in SOAP UI how you did?

former_member190996
Participant
0 Kudos

Hi Raghuraman,

yes, it's single operation. Please check below:


      <operation name="createIndividual">

         <soap:operation soapAction=""/>

         <input>

            <soap:body use="literal"/>

         </input>

         <output>

            <soap:body use="literal"/>

         </output>

         <fault name="Exception">

            <soap:fault name="Exception" use="literal"/>

         </fault>

      </operation>

former_member186851
Active Contributor
0 Kudos

Ok Sai,

Then seems to be fine.

You said ur testing from SOAP UI right? Are you sending via PI?.

Also just try once polling from JMS adapter directly.

Muniyappan
Active Contributor
0 Kudos

can you try putting "createIndividual" in soap action of communication channel?

former_member190996
Participant
0 Kudos

Same error even after adding the soap action as createIndividual:

SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Endpoint {http://WS.intergration.xxxx.xx.xx/}xxxxxxxxxxPort does not contain operation meta data for: {http://xxx.xxxxx.xxxxxxxx}xxxxxx
Muniyappan
Active Contributor
0 Kudos

can you please paste your soap test screen shots and PI message here.?

former_member190996
Participant
0 Kudos

please find them:

PI message:


<?xml version="1.0" encoding="UTF-8"?>

<ns0:eServBackOffice xmlns:ns0="http:/xxxx.xxx.backOffice">

   <eServBackOfficeHeader>

      <Name/>

      <Version/>

      <Date/>

      <Time/>

      <TargetSystem/>

      <TargetApplication/>

      <TargetVersion/>

      <TargetDate/>

      <TargetTime/>

      <SourceSystem/>

      <SourceApplication/>

      <SourceVersion/>

      <SourceDate/>

      <SourceTime/>

      <SourceDepartment/>

      <TargetDepartment/>

      <UniqueID/>

   </eServBackOfficeHeader>

   <eServBackOfficeMsg>

      <UserID>1234</UserID>

      <ProcessID/>

      <AttachmentData>

         <fileName/>

         <fileData/>

         <attachmentName/>

      </AttachmentData>

      <ns1:WorkSeekerBO xmlns:ns1="http://xxxx.xxxWorkSeeker">

         <UserInfo/>

         <PersonalDetails>

            <Title/>

            <Initials/>

            <FullName1/>

            <FullName2/>

            <FullName3/>

            <Surname/>

            <Mobile/>

            <TelNumber/>

            <IdentityNo/>

            <Disability>No</Disability>

            <EquityGroup>Indian</EquityGroup>

            <Gender/>

            <Marital>Single</Marital>

            <CriminalStatus>No</CriminalStatus>

            <ParoleDate/>

            <YrParole/>

            <MonthParole/>

            <DayParole/>

            <MakeCV/>

            <Transport/>

            <Individual/>

            <Salary/>

            <Relocate/>

            <reloProvince/>

            <ReloTown1/>

            <ReloTown2/>

            <Interest/>

            <License/>

            <LicenseCode/>

            <LicExpDate/>

            <LicYrDate/>

            <LicMonthDate/>

            <LicDayDate/>

            <LicPermit/>

            <LicExpYr/>

            <LicExpMonth/>

            <LicExpDay/>

            <PubPermit/>

            <PubPermDate/>

            <Hazardous/>

            <YrHazardous/>

            <MonthHazardous/>

            <DayHazardous/>

            <CommenceDateday/>

         </PersonalDetails>

         <LanguageProficiency>

            <LangType/>

            <Read/>

            <Write/>

            <Speak/>

         </LanguageProficiency>

         <ContactDetail>

            <Method>Email</Method>

            <Cellphone/>

            <Telephone/>

            <EmailAddress/>

            <Altname/>

            <Alttelephone/>

            <Altemail/>

            <AddressLn1>Add1</AddressLn1>

            <AddressLn2>Add2</AddressLn2>

            <AddressLn3/>

            <Province>Test</Province>

            <Town>test</Town>

            <Suburb>test</Suburb>

            <PostalCode>1234</PostalCode>

            <SameAsPhysical/>

            <PostalLn1>PAdd1</PostalLn1>

            <PostalLn2>PAdd2</PostalLn2>

            <PostalProvince>2134</PostalProvince>

            <PostalTown>123</PostalTown>

            <PostalSuburb>244</PostalSuburb>

            <PosPostalCode>53w5</PosPostalCode>

            <LabourCentre>53at</LabourCentre>

         </ContactDetail>

         <Education>

            <SchoolLevel/>

            <Schoolname/>

            <YrObtained/>

            <MonthObtained/>

            <DayObtained/>

            <AbetLevel/>

            <School>

               <Subject/>

               <Symbol/>

               <Grade/>

            </School>

            <HigherEducation>

               <QualificationName/>

               <Institution/>

               <NQFlevel/>

               <Status/>

               <Year/>

               <LearningField/>

               <SubLearningField/>

            </HigherEducation>

            <ShortCourses>

               <CourseName/>

               <CourseInstitution/>

               <CourseYear/>

            </ShortCourses>

            <OtherSkills>

               <SkillName/>

               <CourseIns/>

            </OtherSkills>

         </Education>

         <EmploymentHistory>

            <EmploymentRecords>

               <EmpFrom/>

               <Empto/>

               <Jobtitle/>

               <Leaving/>

               <Company/>

            </EmploymentRecords>

            <ProfAffinity>

               <ProfBody/>

               <Rank/>

               <DateFrom/>

               <MembershipReg/>

               <DateTo/>

            </ProfAffinity>

            <References>

               <RefName/>

               <RefCompany/>

               <RefContact/>

               <RefPosition/>

            </References>

         </EmploymentHistory>

         <AchievementsObjectives>

            <Accolades>

               <Accolade/>

               <AwardDescription/>

            </Accolades>

            <Career/>

            <Milestones/>

         </AchievementsObjectives>

      </ns1:WorkSeekerBO>

   </eServBackOfficeMsg>

</ns0:eServBackOffice>

Muniyappan
Active Contributor
0 Kudos

can you tell me if both are same?

in soap test it is createindividual message type.. in PI i is ebackoffice...

entirely different. use the correct message as used in soap ui test.

former_member182412
Active Contributor
0 Kudos

Hi Sai,

  • You need to use in your receiver service interface with message createIndividual operation from WSDL
  • I see this operation have only one field and you need to pass entire xml in this single field
  • In SOAP UI you are calling right operation and passing the entire xml in single field by wrapping CDATA section but PI you are not doing the same.

Regards,

Praveen.

former_member186851
Active Contributor
0 Kudos

Yes,Correct Praveen,

Sai also get the WSDL and test using soap UI by sending message via PI ,Not directly to WS

former_member190996
Participant
0 Kudos

Thanks a lot Praveen.

Now, I'm using the createIndividual as the request message to the IB service interface.

Can you please let me know, how could I pass the entire xml as input to the userData wrapped in CDATA? The xml structures of the sender and receiver are different. How could I send the way that the receiver is expecting?

former_member186851
Active Contributor
0 Kudos

Hello Sai,

Follow the below link..You will get the required output

former_member182412
Active Contributor
0 Kudos

Hi Sai,

MESSAGE element is root element in the source message.

Regards,

Praveen.

former_member190996
Participant
0 Kudos

Will try this. Thanks to you and Raghuraman.

Answers (2)

Answers (2)

shivdutt
Explorer
0 Kudos

Hi Sai,

Did you try to configure the SOAP action, this you can find in the SOAP UI tool. Configure that and try to process the data again.

Thanks

Shivdutt

former_member186851
Active Contributor
0 Kudos

Already these Points mentioned..

former_member190996
Participant
0 Kudos

Hi Shivdutt,

The SOAP action is empty in the wsdl. So I haven't configured any action at the communication channel.

Muniyappan
Active Contributor
0 Kudos

can you search these words in wsdl file? what values are they having?

operation name

soapAction

Meanwhile can you paste your soap test screen shot with header values here?

paste your xml message (after mapping executed)

former_member186851
Active Contributor
0 Kudos

Hello Sai,

what is the sender adapter?

And if your triggering Sync scenario change the quality of service to Best Effort and try.

former_member190996
Participant
0 Kudos

Hi Raghuraman,

the sender is JMS, but I'm only testing the inbound from rwb. It's the same error with the Best Effort as well.

former_member186851
Active Contributor
0 Kudos

Hello Sai,

From PI if the messages are not reaching WS then it could be problem with some port/firewall or proxy settings.

Ensure if the conenctions are open from PI to WS with the help of basis team.

former_member190996
Participant
0 Kudos

I can telnet to the ws hosted system with the ip and port from the pi server, check below:

No issues with the connectivity!!

former_member186851
Active Contributor
0 Kudos

Check the below guide and see if it helps

and testing from SOAP UI?are you sending via PI or calling WS directly?