community-content

Forum Replies Created

Viewing 15 posts - 4,831 through 4,845 (of 9,648 total)
  • Author
    Posts
  • in reply to: SOAP adapter returning Worng response #19294

     Thanks! for replying so soon Mike,

     

    Q:- Does your application contains a SOAP receive location that receives web requests from another server?

    A:- No, I have a solicit response port for calling(consuming) a web-service from my Orchestration.  I send a request out to the Nextance Server(which is a third party tool that we are using to store the customer agreements) through one of its API’s that they have exposed as web-services.  I see the correct response coming back from that server in my machine but after getting processed from the Biztalk SOAP port it gets, it gets distorted.

     

    Q:- Did you try changing transport type of the receive location from SOAP to FILE and checked the output file?

    A:-I haven’t tried changing the transport type as I am using the bindings as specify now in my Orchestration and choosing the default values they have put for the Web-Service port.

     

    Q:-   What is the receive location SOAP configuration? Can you post the exported application binding file?

    A:-The SOAP configuration is simple. I have tried using the Pass-through as well as an XML-Transmit file but m still getting the same response.  

     

    The whole architecture is just like Communicating with a server through its exposed API’s.  So we add the reference to the Web-services and call a particular operation in the web-service which in this case is the GetPartyByKey and we wait for the response, using the default settings for the Web-service port binding.

     

    Also, since its a Java based product(Nextance) that we are intigrating with and their schemas as looked from the visual studio have an encoding of utf-16 but when I see the response coming back it is utf-8 encoding. could this cause some problems.  Also, the response that I see after getting processed through Biztalk doesn’t have any encoding at all, as seen in my first blog.  Also, since I am consuming the schemas that are exposed through their on API’s and waiting for a response corresponding to a particular response schema in their web-service, is it still possible that Biztalk is not able to validate the response coming back from their server against the schema.

    Because as far as my understanding goes, it shouldn’t be a problem as its their own schema and if their is some discrepency then its from their side, but m not sure about it and rightnow we have all the blame being put on Biztalk for picking the wrong response, even though I get the same response from a C# code.

     

    Thanks!

    Ashish 

    in reply to: SOAP adapter returning Worng response #19293

     Dear,

     we need to learn more about your application architecture in order to help you,

    Does your application contains a SOAP receive location that receives web requests from another server?

    Did you try changing transport type of the receive location from SOAP to FILE and checked the output file?

    What is the receive location SOAP configuration? Can you post the exported application binding file?

     

    Thanks,

    Mike 

    in reply to: Send Pipeline to wrap authentication xml..? #19288

    Mike

     Thanks! – When I go to that like there is a runtim error… I guess the site is down for a while.

     I did overcome this problem – using an expression shape in my orchestration that assigned the message into an XmlDocument variable and then inserted it into a node in the authentication xml.

     This is working fine for now, but I’ll have to revisit the pipeline component – This seems like a much cleaner way of doing it.

     I did find a Pipeline Component Wizard that writes out all the required files and I’ll only have to transfer the code – or so it looks like.

    I guess we’ll see.

    Thanks for the update.

     

    in reply to: Orchestration performance degradation #19285

    Thank you for all the replies.  I was not sure if it was a BizTalk issue or not, and your answers help to focus my hunt.  I found this morning that HAT was timingout and I did a quick Google for that issue and found the following:

    http://www.biztalkbootcamp.com/biztalk-server/re-hat-error-executing-query-on-tracking-database-0000607401.htm

    http://www.tech-archive.net/Archive/BizTalk/microsoft.public.biztalk.server/2006-04/msg00040.html

    Both of these indicate that it might be a DB issue, so I am enlisting the help of our DBA.

    in reply to: Biztalk 2006 eConnect for GP 10.0 #19284

    Hi Muralidhar,

    A quick Google would suggest that the adapter is not a request/response adapter: http://www.techtalkz.com/microsoft-biztalk-server/146293-biztalk-2006-econnect-gp10-0-a.html

    If you can inject some correlation information into your request message, and if that information can be passed back in the response message from GP, you should be able to use correlation to create a ‘disjointed’ request/response process.

    Nick.

    in reply to: Orchestration performance degradation #19282

    database calls taking longer than expected can arise from network latency, I suggest you monitor the network I/O between the BizTalk server and SQL server.

     Mike

    in reply to: Send Pipeline to wrap authentication xml..? #19281

    Hi JavaK,

    [quote user="JavaK"]I dont have the schema for the authentication, do I need one[/quote]

    yes, you have to have a schema for the authentication,

     In case you need to extract some infromation from the message payload to use it in the authentication header, you may develop a custom pipeline component to accomplish this, the following link may be of help:

    http://msdn2.microsoft.com/en-us/library/aa559443.aspx

    Mike

    in reply to: After Installation no receive port works ! #19280

    No probs, pleased it worked.

    Nick.

    in reply to: After Installation no receive port works ! #19279

    Hi Nick,

     that’s it ! I kind of filtered out the possibility, because the account I chose for Biztalk seemed to hold every right it needed. It still seems strange to me…

    I will check this further as soon as I have the time and tell you if I could make it work this time. Thank you very much Nick, I was really lost there !

     

    Regards, Michael 

    in reply to: Orchestration performance degradation #19278

    Anonymous,

    why do you think this is a BizTalk problem? Superficially, your db calls are taking longer. Could some limit have been reached there? Or is the db machine in some way maxed out? Best would be if you could get a db expert ot look at it with you. Or at least point perfmon at it, or MOM.

    John D.

    in reply to: Orchestration performance degradation #19277

    HI Anon,

    Well, to answer your question – there are many things that could wrong. I think we could use some more detail about your infrastructure before making any solid suggestions, including: CPU/RAM, server numbers, is BizTalk running on the same SQL Server? what apps are also connecting to the database? etc.

    However If I were tackling this problem, I would look at the following (I’m sure others on this forum will be able to contribute more):

    • Use SQL Profiler and check that the database query is reaching the Db in a timely fashion – i.e. is SQL Server being slow or BizTalk?;
    • If you are using a SELECT statement, try wrapping it in a Stored Procedure – the stored proc will be compiled and the execution plan will not be recalculated with each call;
    • Try re-building your indexes (you do have indexes right 😉 and updating your statistics;
    • Use perfmon to determine whether there is other high-load operating on the DB during the time you are running your queries that may be causing processor or IO contention;
    • If you are experiencing high CPU (I’ve read 50% plus but this always seems low to me), consider increasing CPU/RAM (consult perfmon)
    • If you are experiencing high I/O, consider moving your database data and log files to separate disks so there is little or no IO contention

    There is a bunch of good atricles online – simply Google ‘sql server performance’ – a few to get started with:

    Hope that helps.

    Cheers, Nick.

    Thank you ALL who contributed to this message!

    I found that I needed to bring the variable in as a long and divide by 1000

    EPOC time is based on MILLISECONDS! 

     This works like a charm!

    in reply to: Invoking a BizTalk Map in Code #19274

    Kevin,

    if you have it working through a file drop, why not convert your web service to drop the incoming file? Also the separation makes testing much easier – hard-wired web service to orchestration is a pain for testing and maintenance.

    John D.

    in reply to: Invoking a BizTalk Map in Code #19273

    Hello,

    You should be able to invoke a map on a receive port using any adapter type as the transport mechanism – have you checked that the XmlDisassembler component is present on your pipeline – or that you are using the XmlReceive pipeline – to ensure that the MessageType property is promoted into the message context, allowing the receive port map to work?

    Nick.

    in reply to: After Installation no receive port works ! #19271

    Hi Michael,

    When BizTalk looks for files using the FILE adapter (for example), it executes the read as the user running the BizTalk Host Instance (i.e. the user running the Windows Service), not as the user you are logged in as (in the above case admin). If the BizTalk Host Instance user does not have the necessary permissions, you will receive an error in your Application Event Log something similar to the following:

    File transport does not have read/write privileges for receive location “C:\Documents and Settings\Nick\Desktop\Sample Messages 2\Input\”.

    and:

    The Messaging Engine failed to add a receive location “Xml Assembler Test Location” with URL “C:\Documents and Settings\Nick\Desktop\Sample Messages 2\Input\Copy*.xml” to the adapter “FILE”. Reason: “File transport does not have read/write privileges for receive location “C:\Documents and Settings\Nick\Desktop\Sample Messages 2\Input\”. “.

    Let me know if you get the problem resolved and how you managed it – I’m intrigued!

    Cheers, Nick.

Viewing 15 posts - 4,831 through 4,845 (of 9,648 total)