{"id":1751,"date":"2010-08-12T08:36:42","date_gmt":"2010-08-12T13:36:42","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=1751"},"modified":"2010-11-03T12:34:48","modified_gmt":"2010-11-03T17:34:48","slug":"owsm-faultstring-http-status-code-404","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=1751","title":{"rendered":"OWSM Faultstring: Http status code: 404"},"content":{"rendered":"<span id=\"Scenario\"><h3>Scenario<\/h3><\/span>\n<p>An Oracle BPEL application was virtualized in WSM. When the virtualized service was tested, an &#8220;Http status code: 404&#8221; fault was encounterred .<\/p>\n<span id=\"Error_Message\"><h3>Error Message<\/h3><\/span>\n<pre lang=\"xml\">\r\n<faultcode xmlns=\"http:\/\/schemas.oblix.com\/ws\/2003\/08\/Faults\">Client.UndeliverableFault<\/faultcode>\r\n<faultstring>Http status code: 404<\/faultstring>\r\n<\/pre>\n<span id=\"Diagnosis\"><h3>Diagnosis<\/h3><\/span>\n<p>* Checked gateway log file (OracleAS_2\\j2ee\\oc4j_soa\\log\\gateway.log) and found:<br \/>\n<em>The requested URL \/MyService\/MySoapHttpPort was not found on this server.<\/em><br \/>\n(in another unix install, gateway.log is found at .\/j2ee\/oc4j_wsm\/log\/gateway.log)<br \/>\n* Viewed Messenger Step for Service: SID0003005 (Policy Management -> Register Services -> Services -> Click &#8220;View Details&#8221; icon -> Click &#8220;View Protocol Parameters&#8221; link) and found the HTTP Messenger URL property is set to:<br \/>\n<em>http:\/\/localhost\/MyService\/MySoapHttpPort<\/em> <\/p>\n<span id=\"Cause\"><h3>Cause<\/h3><\/span>\n<p>* In BPEL application, &#8220;Client&#8221; partner link&#8217;s WSDL imports an existing WSDL document which contains the offending dummy soap:address. During virtualization, WSM incorrectly uses it in HTTP Messenger URL.<\/p>\n<span id=\"Solution_1\"><h3>Solution 1<\/h3><\/span>\n<p>* Modify HTTP Messenger URL property and point to the correct physical service endpoint<br \/>\n(Policy Management -> Register Services -> Services -> Click &#8220;Edit&#8221; icon -> Click &#8220;&#8211;> Modify Protocol Parameters&#8221; link)<br \/>\n* Save -> Save -> OK -> commit -> OK<\/p>\n<span id=\"Solution_2\"><h3>Solution 2<\/h3><\/span>\n<p>* Remove the &lt;service&gt; section from the imported WSDL.<br \/>\n* Revirtualize the service.<br \/>\n* Caveat: you&#8217;ll get a new SID<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scenario An Oracle BPEL application was virtualized in WSM. When the virtualized service was tested, an &#8220;Http status code: 404&#8221; fault was encounterred . Error Message Client.UndeliverableFault Http status code: 404 Diagnosis * Checked gateway log file (OracleAS_2\\j2ee\\oc4j_soa\\log\\gateway.log) and found: &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=1751\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[72,73,69],"tags":[],"class_list":["post-1751","post","type-post","status-publish","format-standard","hentry","category-bpel","category-errors","category-oc4j"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-sf","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1751"}],"version-history":[{"count":3,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1751\/revisions"}],"predecessor-version":[{"id":1848,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1751\/revisions\/1848"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}