Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: Unmarshall Exception while using AbstractMarshallingPayloadEndpoint

  1. #21

    Default

    Quote Originally Posted by prasanthnath View Post
    post 145241
    The error says that unmarshaller does not expect ProjectSearch element, but some element that should look like:
    Code:
    <payload>
    	<Department/>
    	<IncludeAlerts/>
    	<IncludeAttachments/>
    	<IncludeDependencies/>
    	<IncludeDetails/>
    	<IncludeFeedback/>
    	<IncludeMessages/>
    	<IncludeNotes/>
    	<IncludeStatusSummary/>
    	<Profile/>
    	<ProjectInitiatorList/>
    	<ProjectSearch/>
    	<RTMSort/>
    	<ResponseSummary/>
    	<SearchDepartment/>
    	<SearchProfile/>
    	<SearchUnit/>
    	<SearchUser/>
    	<Unit/>
    	<User/>
    </payload>
    Why does it expects such payload? Please, post your wsdl (see my prev post)

  2. #22

    Default

    You could uncomment wsdl builder bean definition and have it regenerate a wsdl for you - i think that wsdl is sort of a problem for SWS.

    Please, see SWS reference guide or samples - just provide suffixes for request and response and let SWS generate and maintain wsdl for you.


    By the way, i've generated sample request to 'NewOperation' from attached wsdl with soapui:
    Code:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:RfxwsvNamespace">
       <soapenv:Header/>
       <soapenv:Body>
          <urn:ProjectSearch>
             <!--Zero or more repetitions:-->
             <urn:Project urn:RTMCase="IGNORE" urn:RTMMatch="LIKE" urn:RTMValue="ID">gero et</urn:Project>
             <!--Zero or more repetitions:-->
             <urn:Creator>
                <!--Zero or more repetitions:-->
                <urn:SearchUser urn:RTMValue="ID" urn:RTMMatch="LIKE" urn:RTMCase="IGNORE">sonoras imperio</urn:SearchUser>
                <!--Zero or more repetitions:-->
                <urn:SearchUnit urn:RTMMatch="LIKE" urn:RTMValue="ID" urn:RTMCase="IGNORE">quae divum incedo</urn:SearchUnit>
                <!--Zero or more repetitions:-->
                <urn:SearchDepartment urn:RTMValue="ID" urn:RTMMatch="LIKE" urn:RTMCase="IGNORE">verrantque per auras</urn:SearchDepartment>
                <!--Zero or more repetitions:-->
                <urn:SearchProfile urn:RTMValue="ID" urn:RTMMatch="LIKE" urn:RTMCase="IGNORE">per auras</urn:SearchProfile>
             </urn:Creator>
             <!--Zero or more repetitions:-->
             <urn:Approver>
                <!--Zero or more repetitions:-->
                <urn:SearchUser urn:RTMValue="ID" urn:RTMMatch="LIKE" urn:RTMCase="IGNORE">circum claustra</urn:SearchUser>
                <!--Zero or more repetitions:-->
                <urn:SearchUnit urn:RTMMatch="LIKE" urn:RTMValue="ID" urn:RTMCase="IGNORE">nimborum in</urn:SearchUnit>
                <!--Zero or more repetitions:-->
                <urn:SearchDepartment urn:RTMValue="ID" urn:RTMMatch="LIKE" urn:RTMCase="IGNORE">foedere certo</urn:SearchDepartment>
                <!--Zero or more repetitions:-->
                <urn:SearchProfile urn:RTMValue="ID" urn:RTMMatch="LIKE" urn:RTMCase="IGNORE">profundum quippe ferant</urn:SearchProfile>
             </urn:Approver>
             <!--Zero or more repetitions:-->
             <urn:AssignedTo>
                <!--Zero or more repetitions:-->
                <urn:SearchUser urn:RTMValue="ID" urn:RTMMatch="LIKE" urn:RTMCase="IGNORE">et carcere</urn:SearchUser>
                <!--Zero or more repetitions:-->
                <urn:SearchUnit urn:RTMMatch="LIKE" urn:RTMValue="ID" urn:RTMCase="IGNORE">iovis rapidum iaculata</urn:SearchUnit>
                <!--Zero or more repetitions:-->
                <urn:SearchDepartment urn:RTMValue="ID" urn:RTMMatch="LIKE" urn:RTMCase="IGNORE">speluncis abdidit</urn:SearchDepartment>
                <!--Zero or more repetitions:-->
                <urn:SearchProfile urn:RTMValue="ID" urn:RTMMatch="LIKE" urn:RTMCase="IGNORE">bella gero et</urn:SearchProfile>
             </urn:AssignedTo>
             <!--Zero or more repetitions:-->
             <urn:ProjectType urn:RTMValue="ID">flammas turbine</urn:ProjectType>
             <!--Optional:-->
             <!--type: date-->
             <urn:StartDate>2002-11-16+03:00</urn:StartDate>
             <!--Optional:-->
             <!--type: date-->
             <urn:EndDate>2000-09-14</urn:EndDate>
             <!--Zero or more repetitions:-->
             <urn:ProjectStatus urn:RTMValue="ID">aris imponet honorem</urn:ProjectStatus>
             <!--Zero or more repetitions:-->
             <urn:Priority urn:RTMValue="ID">praeterea aut</urn:Priority>
             <!--Zero or more repetitions:-->
             <urn:Task urn:RTMValue="ID">claustra fremunt</urn:Task>
             <!--Optional:-->
             <!--anonymous type - enumeration: [PROJECTLIST,STOREVIEW,CUSTOM,MYVIEW,FIELDVIEW,APPROVERVIEW]-->
             <urn:SearchType>STOREVIEW</urn:SearchType>
             <!--Optional:-->
             <!--anonymous type - enumeration: [DEFAULT,WHAT'S NEW,DUE THIS WEEK,DUE NEXT WEEK,OVERDUE]-->
             <urn:QuickFilter>DEFAULT</urn:QuickFilter>
             <!--Optional:-->
             <urn:Include>
                <!--Optional:-->
                <!--anonymous type - enumeration: [YES,NO]-->
                <urn:IncludeDetails>NO</urn:IncludeDetails>
                <!--Optional:-->
                <!--anonymous type - enumeration: [BOTH,NAME,CONTENT]-->
                <urn:IncludeAttachments>BOTH</urn:IncludeAttachments>
                <!--Optional:-->
                <!--anonymous type - enumeration: [YES,NO,SUMMARY,TEXT]-->
                <urn:IncludeNotes>YES</urn:IncludeNotes>
                <!--Optional:-->
                <!--anonymous type - enumeration: [YES,NO]-->
                <urn:IncludeMessages>NO</urn:IncludeMessages>
                <!--Optional:-->
                <!--anonymous type - enumeration: [YES,NO]-->
                <urn:IncludeDependencies>NO</urn:IncludeDependencies>
                <!--Optional:-->
                <!--anonymous type - enumeration: [YES,NO]-->
                <urn:Prerequisites>YES</urn:Prerequisites>
                <!--Optional:-->
                <urn:Tasks>
                   <!--Optional:-->
                   <!--anonymous type - enumeration: [YES,NO]-->
                   <urn:IncludeDetails>NO</urn:IncludeDetails>
                   <!--Optional:-->
                   <!--anonymous type - enumeration: [BOTH,NAME,CONTENT]-->
                   <urn:IncludeAttachments>CONTENT</urn:IncludeAttachments>
                   <!--Optional:-->
                   <!--anonymous type - enumeration: [YES,NO,SUMMARY,TEXT]-->
                   <urn:IncludeNotes>YES</urn:IncludeNotes>
                   <!--Optional:-->
                   <!--anonymous type - enumeration: [YES,NO]-->
                   <urn:IncludeDependencies>YES</urn:IncludeDependencies>
                   <!--Optional:-->
                   <urn:IncludeFeedback>
                      <!--Optional:-->
                      <!--anonymous type - enumeration: [ALL,OVERDUE,COMPLETION,FORCECLOSE]-->
                      <urn:Questions>OVERDUE</urn:Questions>
                      <!--Optional:-->
                      <!--anonymous type - enumeration: [NONE,DETAILS,SUMMARY,BOTH]-->
                      <urn:Responses>NONE</urn:Responses>
                   </urn:IncludeFeedback>
                   <!--Optional:-->
                   <!--anonymous type - enumeration: [BOTH,DETAILS,RAISED]-->
                   <urn:IncludeAlerts>BOTH</urn:IncludeAlerts>
                   <!--Optional:-->
                   <!--anonymous type - enumeration: [YES,NO]-->
                   <urn:AdditionalInfo>NO</urn:AdditionalInfo>
                   <!--Optional:-->
                   <!--anonymous type - enumeration: [NONE,SUMMARY,DETAIL,BOTH]-->
                   <urn:IncludeStatusSummary>DETAIL</urn:IncludeStatusSummary>
                </urn:Tasks>
                <!--Optional:-->
                <urn:IncludeFeedback>
                   <!--Optional:-->
                   <!--anonymous type - enumeration: [ALL,OVERDUE,COMPLETION,FORCECLOSE]-->
                   <urn:Questions>FORCECLOSE</urn:Questions>
                   <!--Optional:-->
                   <!--anonymous type - enumeration: [NONE,DETAILS,SUMMARY,BOTH]-->
                   <urn:Responses>NONE</urn:Responses>
                </urn:IncludeFeedback>
                <!--Optional:-->
                <!--anonymous type - enumeration: [BOTH,DETAILS,RAISED]-->
                <urn:IncludeAlerts>RAISED</urn:IncludeAlerts>
                <!--Optional:-->
                <!--anonymous type - enumeration: [NONE,SUMMARY,DETAIL,BOTH]-->
                <urn:IncludeStatusSummary>DETAIL</urn:IncludeStatusSummary>
                <!--Optional:-->
                <!--anonymous type - enumeration: [NONE,SUMMARY,DETAIL]-->
                <urn:IncludeRolloutSchedule>SUMMARY</urn:IncludeRolloutSchedule>
             </urn:Include>
             <!--Optional:-->
             <urn:RTMSort>
                <urn:Element Order="ASC">et quisquam</urn:Element>
             </urn:RTMSort>
          </urn:ProjectSearch>
       </soapenv:Body>
    </soapenv:Envelope>

    Or you could just wait till Mr. Arjen will answer your question

  3. #23
    Join Date
    Aug 2007
    Posts
    15

    Default

    Yaa..The problem is solved. Itz with the target namesapce..Thanx for all the help provided []
    Last edited by prasanthnath; Oct 22nd, 2007 at 10:01 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •