<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Method:API Q&amp;A</title><link>http://forums.method.me/cs/forums/15.aspx</link><description>Ask questions specific to the MethodAPI from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Using API with Java</title><link>http://forums.method.me/cs/forums/thread/12927.aspx</link><pubDate>Fri, 29 Jun 2012 20:06:22 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12927</guid><dc:creator>Method_David</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12927.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=12927</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Steveb,&lt;/p&gt;
&lt;p&gt;Following the article available at &lt;a href="http://msdn.microsoft.com/en-us/library/d2s8y7bs%28v=vs.80%29.aspx"&gt;http://msdn.microsoft.com/en-us/library/d2s8y7bs%28v=vs.80%29.aspx&lt;/a&gt;&amp;nbsp;I successfully generated a proxy class in both C# and VB.Net from the following wsdl &lt;a href="https://www.methodintegration.com/MethodAPI/Service.asmx?wsdl"&gt;https://www.methodintegration.com/MethodAPI/Service.asmx?wsdl&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Have you looked into alternate proxy generation methods such as the eclipse IDE, wsdl2java&amp;nbsp;or svcutil.exe?&lt;/p&gt;
&lt;p&gt;An example of wsdl2java is located at &lt;a href="http://msdn.microsoft.com/en-us/library/ms953968.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms953968.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</description></item><item><title>Re: Using API with Java</title><link>http://forums.method.me/cs/forums/thread/12926.aspx</link><pubDate>Fri, 29 Jun 2012 19:22:09 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12926</guid><dc:creator>steveb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12926.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=12926</wfw:commentRss><description>&lt;p&gt;Our great friends at Microsoft screwing up again losing my response !!&lt;/p&gt;
&lt;p&gt;As I was saying ... Dave ... I did the Google search like you recommended and all of the answers say to get the WSDL from the website to obtain the definitions, etc. for the interaction.&amp;nbsp; It did confirm that I was using the correct format to obtain the WSDL information, but the website wasn&amp;#39;t cooperating.&lt;/p&gt;
&lt;p&gt;Some research that I did prior to posting on our forum says that if the schema doesn&amp;#39;t resolve it is usually that it isn&amp;#39;t exposed (public) or otherwise unresolvable on the web service&amp;#39;s server.&amp;nbsp; That was the root of my original post.&lt;/p&gt;
&lt;p&gt;The WSIMPORT routine is supposed to query the web service&amp;#39;s WSDL and generate what it calls &amp;#39;stubs&amp;#39; which then do the &amp;#39;heavy lifting&amp;#39; with the Java application to communicate with the web service.&lt;/p&gt;
&lt;p&gt;That is where I&amp;#39;m stuck.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using API with Java</title><link>http://forums.method.me/cs/forums/thread/12925.aspx</link><pubDate>Fri, 29 Jun 2012 19:12:02 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12925</guid><dc:creator>steveb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12925.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=12925</wfw:commentRss><description>&lt;p&gt;&lt;/p&gt;</description></item><item><title>Re: Using API with Java</title><link>http://forums.method.me/cs/forums/thread/12922.aspx</link><pubDate>Fri, 29 Jun 2012 16:35:37 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12922</guid><dc:creator>steveb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12922.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=12922</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Dave, I&amp;#39;ll look there.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Using API with Java</title><link>http://forums.method.me/cs/forums/thread/12921.aspx</link><pubDate>Fri, 29 Jun 2012 15:46:30 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12921</guid><dc:creator>Method_David</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12921.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=12921</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Steveb,&lt;/p&gt;
&lt;p&gt;Java can invoke and use .NET&amp;nbsp;webservices as needed. I suggest you google something like &amp;quot;java to call a microsoft webservice.&amp;quot;, for examples of how to do that.&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</description></item><item><title>Using API with Java</title><link>http://forums.method.me/cs/forums/thread/12920.aspx</link><pubDate>Fri, 29 Jun 2012 15:27:10 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:12920</guid><dc:creator>steveb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/12920.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=12920</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I am attempting to use the Method API for several potential development projects&amp;nbsp;with an RDE which uses Java&amp;nbsp;for connectivity.&amp;nbsp; I don&amp;#39;t think I have a way to imbed VB or .NET code into these programs that I am aware of.&amp;nbsp; I have successully called other API&amp;#39;s with this program using the embedded Java code functionality.&amp;nbsp; Java&amp;#39;s directions tell me to get the WSDL information from the &amp;#39;host&amp;#39; site using the WSIMPORT program which I have.&amp;nbsp; When I issue the command against &amp;#39;&lt;span style="font-size:small;"&gt;https://www.methodintegration.com/MethodAPI/service.asmx?wsdl &amp;#39;, which is what the instructions say to do, I get the following messages:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:small;"&gt;&lt;span&gt;
&lt;p&gt;parsing WSDL...&lt;/p&gt;
&lt;p&gt;　&lt;/p&gt;
&lt;p&gt;[WARNING] src-resolve: Cannot resolve the name &amp;#39;soapenc:Array&amp;#39; to a(n) &amp;#39;type definition&amp;#39; component.&lt;/p&gt;
&lt;p&gt;line 1144 of https://www.methodintegration.com/MethodAPI/service.asmx?wsdl#types?schema2&lt;/p&gt;
&lt;p&gt;[WARNING] src-resolve.4.2: Error resolving component &amp;#39;s:schema&amp;#39;. It was detected that &amp;#39;s:schema&amp;#39; is in namespace &amp;#39;http://www.w3.org/2001/XMLSchema&amp;#39;, but components from this namespace are not referenceable from schema document &amp;#39;https://www.methodintegration.com/MethodAPI/service.asmx?wsdl#types?schema1&amp;#39;. If this is the incorrect namespace, perhaps the prefix of &amp;#39;s:schema&amp;#39; needs to be changed. If this is the correct namespace, then an appropriate &amp;#39;import&amp;#39; tag should be added to &amp;#39;https://www.methodintegration.com/MethodAPI/service.asmx?wsdl#types?schema1&amp;#39;.&lt;/p&gt;
&lt;p&gt;line 960 of https://www.methodintegration.com/MethodAPI/service.asmx?wsdl#types?schema1&lt;/p&gt;
&lt;p&gt;[ERROR] undefined simple or complex type &amp;#39;soapenc:Array&amp;#39;&lt;/p&gt;
&lt;p&gt;line 1144 of https://www.methodintegration.com/MethodAPI/service.asmx?wsdl&lt;/p&gt;
&lt;p&gt;[ERROR] undefined element declaration &amp;#39;s:schema&amp;#39;&lt;/p&gt;
&lt;p&gt;line 960 of https://www.methodintegration.com/MethodAPI/service.asmx?wsdl&lt;/p&gt;
&lt;p&gt;[ERROR] undefined element declaration &amp;#39;s:schema&amp;#39;&lt;/p&gt;
&lt;p&gt;line 981 of https://www.methodintegration.com/MethodAPI/service.asmx?wsdl&lt;/p&gt;
&lt;p&gt;[ERROR] undefined element declaration &amp;#39;s:schema&amp;#39;&lt;/p&gt;
&lt;p&gt;line 999 of https://www.methodintegration.com/MethodAPI/service.asmx?wsdl&lt;/p&gt;
&lt;p&gt;[ERROR] undefined element declaration &amp;#39;s:schema&amp;#39;&lt;/p&gt;
&lt;p&gt;line 1020 of https://www.methodintegration.com/MethodAPI/service.asmx?wsdl&lt;/p&gt;
&lt;p&gt;I get no output files created (as should happen).&amp;nbsp; All I get is the messages on the screen, rather than the detail code file(s) that the WSIMPORT program is supposed to create.&amp;nbsp; Does anybody have any ideas how to fix this problem?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>