<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Web Service Help</title>
		<link>http://www.peoplesoftwiki.com/forum/t-187088/web-service-help</link>
		<description>Posts in the discussion thread &quot;Web Service Help&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Fri, 30 Jul 2010 05:14:47 +0000</lastBuildDate>
		
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-187088#post-607676</guid>
				<title>Re: Web Service Help</title>
				<link>http://www.peoplesoftwiki.com/forum/t-187088/web-service-help#post-607676</link>
				<description></description>
				<pubDate>Tue, 13 Oct 2009 11:17:02 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>With the error you are getting:</p> <p><tt>… content type text/html of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly …</tt></p> <p>Just wondering if the line where you pass data to the web service object, you should be passing the actual EmplID rather than the object?</p> <p>So change the line to:</p> <div class="code"> <pre> <code>emplResponse = MyWebService.EmpCreate(emplRqst.EMPLID)</code> </pre></div> <p>It would seem like this is a type mismatch error. Not sure if I'm reading your code right so apologies if that's what you are in fact doing.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-187088#post-607665</guid>
				<title>Re: Web Service Help</title>
				<link>http://www.peoplesoftwiki.com/forum/t-187088/web-service-help#post-607665</link>
				<description></description>
				<pubDate>Tue, 13 Oct 2009 11:02:03 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Sounds like you're making some good progress. I'll try to post individual answers to each of your questions so bear with me :)</p> <p>The service operations security link is <em>supposed</em> to bring up a pop-up window. So if you are using IE you may need to tweak your security settings (Tools &gt; Internet Options &gt; Security) to allow pop ups etc. I've generally found the easiest solution is to make the entire PeopleSoft site (or even the entire domain e.g. *.peoplesoftwiki.com) a trusted site. If that doesn't work then, yes there may be something quite wrong, but hopefully that's all it is.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-187088#post-606947</guid>
				<title>Re: Web Service Help</title>
				<link>http://www.peoplesoftwiki.com/forum/t-187088/web-service-help#post-606947</link>
				<description></description>
				<pubDate>Mon, 12 Oct 2009 16:25:56 +0000</pubDate>
				<wikidot:authorName>AOlson</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Sorry, I did something to have it post before I was done. Also making sure the External Alias is GetWSDL is not set either. It looks like it used the alias name that I was setting up for the create event with the version number? Can I change this or do i need to republish?</p> <p>Thanks again for the help and sorry for the multiple posts here.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-187088#post-606946</guid>
				<title>Re: Web Service Help</title>
				<link>http://www.peoplesoftwiki.com/forum/t-187088/web-service-help#post-606946</link>
				<description></description>
				<pubDate>Mon, 12 Oct 2009 16:22:04 +0000</pubDate>
				<wikidot:authorName>AOlson</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I should make a note as I was curious about the steps you posted and started going through them.</p> <p>I got up to: Click on the Service Operation Security link, confirm the delivered permission list PTPT1200 is there and that access is set to Full Access</p> <p>When I click the Service Operations Security Link it doesn't go any place. No error or anything. It is like it refreshes the Service Operations page is all. I tried a couple of other services with the same result. Maybe this is why these are not working?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-187088#post-606856</guid>
				<title>Re: Web Service Help</title>
				<link>http://www.peoplesoftwiki.com/forum/t-187088/web-service-help#post-606856</link>
				<description></description>
				<pubDate>Mon, 12 Oct 2009 14:34:32 +0000</pubDate>
				<wikidot:authorName>AOlson</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Thanks again.<br /> I haven't checked everything you mentioned, but shortly before your reply i got it to connect to some degree. I am using VB and a test form to simply test this out.<br /> Here is what I had to do. I had to use the IP address URL and add to the URL your mention of the specific node i was on.</p> <p>However, I am still having an issue with making it work and maybe one of the things you mention above will solve this too and if so please let me know and I will try them out.</p> <p>My form has 3 boxes, am emlid, last name, first name and a button. This code is part of the click event on the button:</p> <p>Dim MyWebService As New MyEmployeeWebService.CI_NDU_AO_EMP2_T_PortTypeClient<br /> Dim emplRqst As New MyEmployeeWebService.Create<span style="text-decoration: underline;">CompIntfc</span>NDU_AO_EMP2_TTypeShape</p> <p>Dim EmplID As New MyEmployeeWebService.EMPLIDTypeShape<br /> Dim LastName As New MyEmployeeWebService.LAST_NAMETypeShape<br /> Dim FirstName As New MyEmployeeWebService.FIRST_NAMETypeShape</p> <p>EmplID.Value = txtEmplID.Text<br /> LastName.Value = txtLastName.Text<br /> FirstName.Value = txtFirstName.Text</p> <p>emplRqst.EMPLID = EmplID<br /> emplRqst.LAST_NAME = LastName<br /> emplRqst.FIRST_NAME = FirstName</p> <p>Dim emplResponse As New MyEmployeeWebService.Create<span style="text-decoration: underline;">CompIntfc</span>NDU_AO_EMP2_TResponseTypeShape</p> <p>emplResponse = MyWebService.EmpCreate(emplRqst)</p> <p>I get to the the last line (emplResponse = MyWebService.empCreate(emplRqst) and an error is thrown below:</p> <p>The content type text/html of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 572 bytes of the response were: '&lt;?xml version="1.0" ?&gt;&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="<a href="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</a>"&gt;&lt;SOAP-ENV:Body&gt;&lt;SOAP-ENV:Fault&gt;&lt;faultcode&gt;SOAP-ENV:Server&lt;/faultcode&gt;&lt;faultstring&gt;null&lt;/faultstring&gt;&lt;detail&gt;&lt;IBResponse type="error"&gt;&lt;DefaultTitle&gt;Integration Broker Response&lt;/DefaultTitle&gt;&lt;StatusCode&gt;20&lt;/StatusCode&gt;&lt;MessageID&gt;505&lt;/MessageID&gt;&lt;DefaultMessage&gt;&lt;![CDATA[Unable to find a Routing corresponding to the incoming request message.]]&gt;&lt;/DefaultMessage&gt;&lt;MessageParameters&gt;&lt;/MessageParameters&gt;&lt;/IBResponse&gt;&lt;/detail&gt;&lt;/SOAP-ENV:Fault&gt;&lt;/SOAP-ENV:Body&gt;&lt;/SOAP-ENV:Envelope&gt;'.</p> <p>Any ideas?</p> <p>Also, is there a spot where you can check what the statuscodes or MessageID's mean?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-187088#post-604526</guid>
				<title>Re: Web Service Help</title>
				<link>http://www.peoplesoftwiki.com/forum/t-187088/web-service-help#post-604526</link>
				<description></description>
				<pubDate>Thu, 08 Oct 2009 22:33:42 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks for the extra information.</p> <p>The second error message you are getting when using the IP address of the gateway is slightly more helpful. It may suggest an issue with some of the internal integration broker settings.</p> <p>Can you check the following:</p> <ul> <li>Navigate to <tt>PeopleTools &gt; Integration Broker &gt; Integration Setup &gt; Service Operations</tt></li> <li>Open up the service operation <tt>GETWSDL</tt> (its part of the <tt>IB_UTILITY</tt> service)</li> <li>Confirm that on the General tab, the routing status of Any-To-Local is <em>exists</em> (Local-to-Local can be set to <em>does not exists</em>)</li> <li>Click on the <em>Service Operation Security</em> link, confirm the delivered permission list <tt>PTPT1200</tt> is there and that access is set to <em>Full Access</em></li> <li>In the Handlers tab, the handler is <tt>REQUSTHDLR</tt>, <tt>OnRequest</tt>, <tt>AppClass</tt> and <tt>Active</tt>.</li> <li>In the Routings tab you should have an auto generated routing with the sender node as <tt>~~ANY~~</tt> and receiver node as your default local node (depends on your configuration). Make sure this routing is active.</li> <li>Click on the routing hyperlink to view its properties.</li> <li>In the parameters tab, check the external alias it should just be <tt>GetWSDL</tt>. If not, then you will have a problem.</li> </ul> <p>It appears that something in this area may be incorrect which is why you are getting these errors. I had a look at the code in the <tt>PT_INTEGRATION.GetWSDL</tt> application class, and the statement the error is referring to is:</p> <div class="code"> <pre> <code>&amp;wsdlstring = %IntBroker.GetWSDL(&amp;wsdlname | "." | &amp;vername);</code> </pre></div> <p>So it may be having problems calling the internal GetWSDL service operation.</p> <p>It might also be security related. Can you check the default user ID set for the <tt>ANONYMOUS</tt> node under:</p> <ul> <li><tt>PeopleTools &gt; Integration Broker &gt; Integration Setup &gt; Nodes</tt></li> </ul> <p>This user should have the permission list <tt>PTPT1200</tt> which is the default set under service operation security for the <tt>GETWSDL</tt> service operation. To check, run the following SQL in your database, changing the <tt>OPRID</tt> to the default user ID set on the <tt>ANONYMOUS</tt> node.</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-reserved">select</span><span class="hl-code"> </span><span class="hl-identifier">OPRCLASS</span><span class="hl-code"> </span><span class="hl-reserved">from</span><span class="hl-code"> </span><span class="hl-identifier">PSOPRCLS</span><span class="hl-code"> </span><span class="hl-reserved">where</span><span class="hl-code"> </span><span class="hl-identifier">OPRID</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">ANONYMOUS_NODE_DEFAULT_ID</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">order</span><span class="hl-code"> </span><span class="hl-reserved">by</span><span class="hl-code"> </span><span class="hl-identifier">OPRCLASS</span><span class="hl-code">;</span> </pre></div> </div> <p>In terms of which error log is which, the URL that uses the gateway URL should be the correct one. Although, it seems strange that you would have two, unless there is something wrong with the web server/IB configuration? Basically the gateway URL <em>should be</em> the URL of your web server.</p> <p>Good luck, hopefully its one of these things :)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-187088#post-604280</guid>
				<title>Re: Web Service Help</title>
				<link>http://www.peoplesoftwiki.com/forum/t-187088/web-service-help#post-604280</link>
				<description></description>
				<pubDate>Thu, 08 Oct 2009 16:59:29 +0000</pubDate>
				<wikidot:authorName>AOlson</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Wow, that was quick. Thanks for the reply.</p> <p>I followed the directions on your link below and when I get to the end othe publishing of the web service it comes up with a confirm results and a Generated WSDL URL: of the following:</p> <p><a href="http://wsdl.OurAddress.com/PSIGW/PeopleSoftServiceListeningConnector/CI_MESSAGE_CATALOG1.4.wsdl">http://wsdl.OurAddress.com/PSIGW/PeopleSoftServiceListeningConnector/CI_MESSAGE_CATALOG1.4.wsdl</a>.<br /> I then go into IE to see if is available to get the following error:</p> <p>&lt;?xml version="1.0" ?&gt;<br /> - &lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="<a href="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</a>"&gt;<br /> - &lt;SOAP-ENV:Body&gt;<br /> - &lt;SOAP-ENV:Fault&gt;<br /> &lt;faultcode&gt;SOAP-ENV:Server&lt;/faultcode&gt;<br /> &lt;faultstring&gt;null&lt;/faultstring&gt;<br /> - &lt;detail&gt;<br /> - &lt;IBResponse type="error"&gt;<br /> &lt;DefaultTitle&gt;Integration Broker Response&lt;/DefaultTitle&gt;<br /> &lt;StatusCode&gt;20&lt;/StatusCode&gt;<br /> &lt;MessageID&gt;887&lt;/MessageID&gt;<br /> - &lt;DefaultMessage&gt;<br /> - &lt;![CDATA[ Retrieval of WSDL failed for wsdl name: CI_MESSAGE_CATALOG1.4. (2,887) PT_INTEGRATION.GetWSDL.OnExecute Name:OnRequest PCPC:1627 Statement:33<br /> ]]&gt;<br /> &lt;/DefaultMessage&gt;<br /> &lt;MessageParameters /&gt;<br /> &lt;/IBResponse&gt;<br /> &lt;/detail&gt;<br /> &lt;/SOAP-ENV:Fault&gt;<br /> &lt;/SOAP-ENV:Body&gt;<br /> &lt;/SOAP-ENV:Envelope&gt;</p> <p>However, when I go into our gateway information there is an IP address specified. if i change the above to use our IP address as below:<br /> <a href="http://123.123.123.111/PSIGW/PeopleSoftServiceListeningConnector/CI_MESSAGE_CATALOG1.4.wsdl">http://123.123.123.111/PSIGW/PeopleSoftServiceListeningConnector/CI_MESSAGE_CATALOG1.4.wsdl</a>.</p> <p>I get the following error:<br /> &lt;?xml version="1.0" ?&gt;<br /> - &lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="<a href="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</a>"&gt;<br /> - &lt;SOAP-ENV:Body&gt;<br /> - &lt;SOAP-ENV:Fault&gt;<br /> &lt;faultcode&gt;SOAP-ENV:Server&lt;/faultcode&gt;<br /> &lt;faultstring&gt;null&lt;/faultstring&gt;<br /> - &lt;detail&gt;<br /> - &lt;IBResponse type="error"&gt;<br /> &lt;DefaultTitle&gt;Integration Broker Response&lt;/DefaultTitle&gt;<br /> &lt;StatusCode&gt;20&lt;/StatusCode&gt;<br /> &lt;MessageID&gt;505&lt;/MessageID&gt;<br /> - &lt;DefaultMessage&gt;<br /> - &lt;![CDATA[ Unable to find a Routing corresponding to the incoming request message.<br /> ]]&gt;<br /> &lt;/DefaultMessage&gt;<br /> &lt;MessageParameters /&gt;<br /> &lt;/IBResponse&gt;<br /> &lt;/detail&gt;<br /> &lt;/SOAP-ENV:Fault&gt;<br /> &lt;/SOAP-ENV:Body&gt;<br /> &lt;/SOAP-ENV:Envelope&gt;</p> <p>it seems this might be an issue with all the environments we have setup? I dont' know if that IP address goes to the machine I am publishing this service on or not.</p> <p>Concerning the error log. I get two different ones when i use each of the above addresses. any idea how i determine which one i should use?</p> <p>My ultimate goal here is, I want to consume this web service in some of our VB.NET apps that we have. When I get this working I will then build my own web services to consume the data i require, but wanted to make sure this functioned first.</p> <p>Thanks again for the assistance.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-187088#post-603824</guid>
				<title>Re: Web Service Help</title>
				<link>http://www.peoplesoftwiki.com/forum/t-187088/web-service-help#post-603824</link>
				<description></description>
				<pubDate>Thu, 08 Oct 2009 00:19:01 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>Thanks for the feedback on the Wiki. I'm glad you've found it useful.</p> <p>Could you check your integration broker logs and post the error you receive there for further information? This article goes through <a href="http://www.peoplesoftwiki.com/integration-broker-logging">Integration Broker Logging</a> but basically, first try navigating to:</p> <p><tt><a href="http://server:port/PSIGW/errorLog.html">http://server:port/PSIGW/errorLog.html</a></tt></p> <p>Note the above is basically the first part of your web server gateway URL which you can get from:</p> <ul> <li>PeopleTools &gt; Integration Broker &gt; Configuration &gt; Quick Configuration</li> </ul> <p>Scroll to bottom of the logs for the latest error messages.</p> <p>Note I've also updated the CI based web services <a href="http://www.peoplesoftwiki.com/component-interface-based-web-services">article</a> with some extra troubleshooting information which may be useful.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-187088#post-603542</guid>
				<title>Web Service Help</title>
				<link>http://www.peoplesoftwiki.com/forum/t-187088/web-service-help#post-603542</link>
				<description></description>
				<pubDate>Wed, 07 Oct 2009 17:13:51 +0000</pubDate>
				<wikidot:authorName>AOlson</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I am new to PeopleSoft Development and have been following this post to try and get an exposed web service up and running to consume by a third party application.<br /> <a href="http://peoplesoft.wikidot.com/component-interface-based-web-services">http://peoplesoft.wikidot.com/component-interface-based-web-services</a><br /> I get through the whole tutorial but when I test the Web Service (WSDL) i get an error saying:</p> <p>Retrieval of WSDL failed for wsdl name: NDFT.CI_MESSAGE_CATALOG1.1. (2,887) PT_INTEGRATION.GetWSDL.OnExecute Name:OnRequest PCPC:1627 Statement:33</p> <p>I am not sure what this means? Also, we have multiple environments here so the environment where I created this Web Serive I preceeded the CI with the environment name and a dot.CI_MESSAGE_CATALOG1.1.wsdl</p> <p>Any help would be great. Thanks for the wiki too. I have been searching for some good sites on PeopleSoft dev and they seem to be few and far between so am happy to see this.<br /> Thanks.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>