tag:blogger.com,1999:blog-2292388398602988504.post7985130997403329631..comments2023-08-12T07:46:21.301-07:00Comments on Manuel's Scripting Stuff: Using Powershell to call a webservice with a complex data typeManuPhttp://www.blogger.com/profile/10238877639039812519noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-2292388398602988504.post-8091335927977387332018-08-20T23:45:57.984-07:002018-08-20T23:45:57.984-07:00nice post.I am impressed by the quality of informa...nice post.I am impressed by the quality of information on this website.Thanks for sharing this post<br /><a href="http://www.software-chennai.com/Education-Software-Mobileapp-Chennai-India.html" rel="nofollow">Education erp software in chennai</a><br />sofiananhttps://www.blogger.com/profile/12461819362859918599noreply@blogger.comtag:blogger.com,1999:blog-2292388398602988504.post-74590999798229601962015-11-23T10:35:03.516-08:002015-11-23T10:35:03.516-08:00Try
$JournalUpdate = New-Object ($type + ".S...Try<br /> $JournalUpdate = New-Object ($type + ".StringType") <br /> $JournalUpdate.Value = "Journal Update"<br /> $juArray = @($JournalUpdate) <br /> $jour.JournalUpdates = $juArray<br /> $instance.JournalUpdates = $jourUnknownhttps://www.blogger.com/profile/01822379906448013263noreply@blogger.comtag:blogger.com,1999:blog-2292388398602988504.post-608257419555158982015-04-21T07:21:52.408-07:002015-04-21T07:21:52.408-07:00Hello - and thanks for the nice explantion how to ...Hello - and thanks for the nice explantion how to access hp/sm incidents.<br />I would like to know how you ie in creating an incident fill in the "Description and Journal Updates" under the Incident.<br /><br />I have tried like this (no success) - >I get a conversion error ...<br /><br />$desc = new-object ($t + ".IncidentInstanceTypeDescription")<br />$jour = new-object ($t + ".IncidentInstanceTypeJournalUpdates")<br /><br />$description = "Linje1", "Linje2","linje3","Linje slut"<br />$journal = "JLinje1", "JLinje2","Jlinje3","JLinje slut"<br /><br />$jour = $journal<br />$desc = $description<br /><br />$instance.Description = $desc<br />$instance.JournalUpdates = $jour<br /><br />The other fields in the incident are created fine ...<br /><br />Do you have hint how to make that array ?<br /><br />regards<br />Mette from DKAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2292388398602988504.post-36824343540344166842015-04-21T07:13:20.048-07:002015-04-21T07:13:20.048-07:00Hello - and thanks for the nice explantion how to ...Hello - and thanks for the nice explantion how to access hp/sm incidents.<br />I would like to know how you ie in creating an incident fill in the "Description and Journal Updates" under the Incident.<br /><br />I have tried like this (no success) - >I get a conversion error ...<br /><br />$desc = new-object ($t + ".IncidentInstanceTypeDescription")<br />$jour = new-object ($t + ".IncidentInstanceTypeJournalUpdates")<br /><br />$description = "Linje1", "Linje2","linje3","Linje slut"<br />$journal = "JLinje1", "JLinje2","Jlinje3","JLinje slut"<br /><br />$jour = $journal<br />$desc = $description<br /><br />$instance.Description = $desc<br />$instance.JournalUpdates = $jour<br /><br />The other fields in the incident are created fine ...<br /><br />Do you have hint how to make that array ?<br /><br />regards<br />Mette from DKAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2292388398602988504.post-57879003605504538042014-12-02T21:17:45.229-08:002014-12-02T21:17:45.229-08:00Manuel, thank you so much for your explanation of ...Manuel, thank you so much for your explanation of how to access the webservice type. Much appreciated.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2292388398602988504.post-40372299802383395952014-04-14T22:35:34.567-07:002014-04-14T22:35:34.567-07:00"What we need to know at this point is, what ..."What we need to know at this point is, what kind of namespace is the webservice using. This is important, because we need this to specify the type of our arguments later."<br /><br />If you use the -Namespace parameter, you can specify a namespace. That way you avoid having to use the autogenerated ones. I was about to embark on the same path as you when I discovered this.Daniel.Shttps://www.blogger.com/profile/01368468092246439344noreply@blogger.com