Guest rajeev Report post Posted October 16, 2008 Dear Anjela, We have developed one webservice in JAVA, and that takes an XML string as input. This webservice we need to load test through WAPT. This is very urgent and we are in trouble to proceed. If we are giving the input xml as string it gives the exception like no SOAPAction header! at org.apache.axis.transport.http.AxisServlet.getSoapAction(AxisServlet.java:1013) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:678) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803). We are very much thankful if any of you give us any solution for this. Our request XML String is <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Header><Interface ChannelIdentifierId="ABC XML 4 OTA DC" Version="2005A" Interface="ABC XML 4 OTA" xmlns="http://www.abcapi.com/Documentation/XML/OTA/4/2005A/"><ComponentInfo Id="37009" User="test" Pwd="test" ComponentType="Hotel" /></Interface></soap-env:Header><soap-env:Body RequestId="200708310425065wZvZr5Ofh" Transaction="HotelAvailRQ"> <OTA_HotelAvailRQ Target="Test" Version="1.003" TimeStamp="2006-08-10T15:28:29+01:00" xmlns="http://www.opentravel.org/OTA/2003/05" BestOnly="false" SummaryOnly="false" SortOrder="A" MaxResponses="100" > <POS> <Source> <RequestorID Type="18" ID="Partner"/> <BookingChannel Type="2" Primary="true"> <CompanyName>Some Company Name</CompanyName> </BookingChannel> </Source> </POS> <AvailRequestSegments> <AvailRequestSegment> <HotelSearchCriteria> <Criterion ImportanceType="Mandatory"> <StayDateRange Start="2008-10-15" Duration="Day" End="2008-10-16"> </StayDateRange> <RateRange RoomStayCandidateRPH="0" MinRate="10.00" MaxRate="50000.00" RateTimeUnit="Day" CurrencyCode="USD" DecimalPlaces="2"> </RateRange> <RatePlanCandidates> <RatePlanCandidate RatePlanCode="*" RPH="1"> <HotelRefs> <HotelRef HotelCode="37009" /> </HotelRefs> <MealsIncluded MealPlanCodes="*"></MealsIncluded> </RatePlanCandidate> </RatePlanCandidates> <RoomStayCandidates> <RoomStayCandidate RoomType="*" RoomTypeCode="*" Quantity="2" RPH="2" RatePlanCandidateRPH="1"> <GuestCounts IsPerRoom="true"> <GuestCount AgeQualifyingCode="1" Count="1"> </GuestCount> <GuestCount AgeQualifyingCode="1" Count="1"> </GuestCount> </GuestCounts> </RoomStayCandidate> </RoomStayCandidates> <Profiles> <ProfileInfo> <Profile ProfileType="1"> <Customer> <PersonName> <GivenName>Person A GivenName</GivenName> <Surname>Person A Surname</Surname> <NameTitle>Person A NameTit</NameTitle> </PersonName> <Telephone PhoneTechType="1" PhoneNumber="7709626425"/> <Telephone PhoneTechType="3" PhoneNumber="7709626425123"/> <Email>Person.A@email.com</Email> <Email>Person.A@email2.com</Email> <Address> <AddressLine>11545 Wells Road</AddressLine> <CityName>Alpharetta</CityName> <PostalCode>30004</PostalCode> <StateProv StateCode="GA"/> <CountryName Code="US"/> <CompanyName>Person A CompanyName</CompanyName> </Address> <CustLoyalty MembershipID="1234567" ProgramID="some programm id"/> </Customer> </Profile> </ProfileInfo> </Profiles> </Criterion> </HotelSearchCriteria> </AvailRequestSegment> </AvailRequestSegments> </OTA_HotelAvailRQ> </soap-env:Body></soap-env:Envelope> Thanks in Advance, Rajeev Quote Share this post Link to post Share on other sites
Guest angela Report post Posted October 17, 2008 Dear Anjela, We have developed one webservice in JAVA, and that takes an XML string as input. This webservice we need to load test through WAPT. This is very urgent and we are in trouble to proceed. If we are giving the input xml as string it gives the exception like no SOAPAction header! at org.apache.axis.transport.http.AxisServlet.getSoapAction(AxisServlet.java:1013) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:678) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803). We are very much thankful if any of you give us any solution for this. Thanks in Advance, Rajeev Hello Rajeev, Please specify in more details in what way you send this request (in a parameter or in some different way). Also, please send to us your Profile and Full log of WAPT. Quote Share this post Link to post Share on other sites
Guest George Report post Posted October 26, 2009 The SOAPAction Header is in the HTTP Header usually...An example: POST http://127.0.0.1/playred/rightsman.asmx HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: text/xml;charset=UTF-8 SOAPAction: "http://schemas.microsoft.com/DRM/2007/03/protocols/AcquireLicense" User-Agent: Jakarta Commons-HttpClient/3.1 Host: 127.0.0.1 Content-Length: 5789 <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schem....... Quote Share this post Link to post Share on other sites
sergei 0 Report post Posted October 30, 2009 You can change a header of any particular request. Just click "HTTP Headers" button in a request properties tab and add SOAPAction header. Quote Share this post Link to post Share on other sites